Home
last modified time | relevance | path

Searched refs:getPrivateKey (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyChainTest.java37 KeyChain.getPrivateKey(null, null); in testNullPrivateKeyArgumentsFail()
47 KeyChain.getPrivateKey(getContext(), null); in testNullPrivateKeyAliasArgumentFails()
57 KeyChain.getPrivateKey(null, ""); in testNullPrivateKeyContextArgumentFails()
70 KeyChain.getPrivateKey(getContext(), ""); in testGetPrivateKeyOnMainThreadFails()
DKeyStoreTest.java99 private static PrivateKeyEntry getPrivateKey() { in getPrivateKey() method in KeyStoreTest
100 return getPrivateKey("RSA"); in getPrivateKey()
103 private static PrivateKeyEntry getPrivateKey(String keyType) { in getPrivateKey() method in KeyStoreTest
116 entry = sTestKeyStore.getPrivateKey("RSA", "RSA"); in getPrivateKey()
118 entry = sTestKeyStore.getPrivateKey("DH", "RSA"); in getPrivateKey()
120 entry = sTestKeyStore.getPrivateKey("DSA", "DSA"); in getPrivateKey()
122 entry = sTestKeyStore.getPrivateKey("EC", "EC"); in getPrivateKey()
133 sPrivateKey2 = TestKeyStore.getClientCertificate().getPrivateKey("RSA", "RSA"); in getPrivateKey2()
268 getPrivateKey().getPrivateKey(), in populate()
270 getPrivateKey().getCertificateChain()); in populate()
[all …]
DAndroidKeyStoreTest.java1119 final PrivateKey privKey = keyEntry.getPrivateKey(); in assertPrivateKeyEntryEquals()
1738 assertPrivateKeyEntryEquals(keyEntry, privEntry.getPrivateKey(), in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success()
1888 PrivateKey privKey = privEntry.getPrivateKey(); in testKeyStore_KeyOperations_Wrap_Unencrypted_Success()
DTestUtils.java159 PrivateKey keystorePrivateKey = privEntry.getPrivateKey(); in assertKeyStoreKeyPair()
DKeyPairGeneratorTest.java1484 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in KeyPairGeneratorTest.MyKeyManager
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DKeyManagementTest.java88 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey , "RSA"); in testCanInstallAndRemoveValidRsaKeypair()
100 assertEquals(KeyChain.getPrivateKey(getActivity(), alias).getAlgorithm(), "RSA"); in testCanInstallAndRemoveValidRsaKeypair()
112 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey , "RSA"); in testCanInstallWithAutomaticAccess()
126 assertEquals(KeyChain.getPrivateKey(getActivity(), grant).getAlgorithm(), "RSA"); in testCanInstallWithAutomaticAccess()
156 assertEquals(KeyChain.getPrivateKey(getActivity(), alias).getAlgorithm(), "RSA"); in testCanInstallCertChain()
171 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey , "RSA"); in testGrantsDoNotPersistBetweenInstallations()
198 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA"); in testNullKeyParamsFailPredictably()
214 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA"); in testNullAdminComponentIsDenied()
226 granted = (KeyChain.getPrivateKey(getActivity(), alias) != null); in assertGranted()
232 private static PrivateKey getPrivateKey(final byte[] key, String type) in getPrivateKey() method in KeyManagementTest
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java431 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in KeyChainTest.KeyChainKeyManager
434 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTest.this, alias); in getPrivateKey()
/cts/tests/tests/security/src/android/security/cts/
DOpenSSLHeartbleedTest.java972 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in OpenSSLHeartbleedTest.HardcodedCertX509KeyManager
/cts/tools/dex-tools/dex/
Dclasses0.out.dex32611 public java.security.PrivateKey getPrivateKey()
34040 public java.security.PrivateKey getPrivateKey()
62491 public abstract java.security.PrivateKey getPrivateKey(
75874 public byte[] getPrivateKey()
85277 public java.security.PrivateKey getPrivateKey(
92177 public org.bouncycastle.asn1.DERObject getPrivateKey()