/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/ |
D | TestKeyStore.java | 223 .signer(ROOT_CA.getPrivateKey("RSA", "RSA")) in initCerts() 231 .signer(ROOT_CA.getPrivateKey("RSA", "RSA")) in initCerts() 237 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts() 244 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts() 254 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts() 261 .signer(INTERMEDIATE_CA_EC.getPrivateKey("EC", "RSA")) in initCerts() 267 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts() 279 .signer(rootCa2.getPrivateKey("RSA", "RSA")) in initCerts() 577 caKey = signer.getPrivateKey(); in createKeys() 636 privateKey = privateEntry.getPrivateKey(); in createKeys() [all …]
|
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/ |
D | TestKeyStore.java | 221 .signer(ROOT_CA.getPrivateKey("RSA", "RSA")) in initCerts() 229 .signer(ROOT_CA.getPrivateKey("RSA", "RSA")) in initCerts() 235 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts() 242 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts() 252 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts() 259 .signer(INTERMEDIATE_CA_EC.getPrivateKey("EC", "RSA")) in initCerts() 265 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts() 277 .signer(rootCa2.getPrivateKey("RSA", "RSA")) in initCerts() 574 caKey = signer.getPrivateKey(); in createKeys() 633 privateKey = privateEntry.getPrivateKey(); in createKeys() [all …]
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/ |
D | TrustManagerFactoryTest.java | 172 PrivateKeyEntry pke = getTestKeyStore().getPrivateKey(keyAlgName, sigAlgName); in test_X509TrustManager() 232 PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in test_TrustManagerFactory_intermediate() 271 KeyStore.PrivateKeyEntry pke = getTestKeyStore().getPrivateKey("RSA", "RSA"); in test_TrustManagerFactory_keyOnly() 272 ks.setKeyEntry("key", pke.getPrivateKey(), "pw".toCharArray(), pke.getCertificateChain()); in test_TrustManagerFactory_keyOnly() 313 .signer(intermediateCa.getPrivateKey("RSA", "RSA")) in test_TrustManagerFactory_extendedKeyUsage() 318 PrivateKeyEntry privateKeyEntry = leaf.getPrivateKey(algorithm, algorithm); in test_TrustManagerFactory_extendedKeyUsage()
|
D | KeyManagerFactoryTest.java | 267 assertNull(keyType, km.getPrivateKey(alias)); in test_X509KeyManager_alias() 272 PrivateKey privateKey = km.getPrivateKey(alias); in test_X509KeyManager_alias() 281 PrivateKeyEntry privateKeyEntry = getTestKeyStore().getPrivateKey(keyAlgName, sigAlgName); in test_X509KeyManager_alias() 285 assertEquals(keyType, privateKeyEntry.getPrivateKey(), privateKey); in test_X509KeyManager_alias()
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | TrustManagerFactoryTest.java | 176 PrivateKeyEntry pke = getTestKeyStore().getPrivateKey(keyAlgName, sigAlgName); in test_X509TrustManager() 236 PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in test_TrustManagerFactory_intermediate() 275 KeyStore.PrivateKeyEntry pke = getTestKeyStore().getPrivateKey("RSA", "RSA"); in test_TrustManagerFactory_keyOnly() 276 ks.setKeyEntry("key", pke.getPrivateKey(), "pw".toCharArray(), pke.getCertificateChain()); in test_TrustManagerFactory_keyOnly() 317 .signer(intermediateCa.getPrivateKey("RSA", "RSA")) in test_TrustManagerFactory_extendedKeyUsage() 322 PrivateKeyEntry privateKeyEntry = leaf.getPrivateKey(algorithm, algorithm); in test_TrustManagerFactory_extendedKeyUsage()
|
D | KeyManagerFactoryTest.java | 271 assertNull(keyType, km.getPrivateKey(alias)); in test_X509KeyManager_alias() 276 PrivateKey privateKey = km.getPrivateKey(alias); in test_X509KeyManager_alias() 285 PrivateKeyEntry privateKeyEntry = getTestKeyStore().getPrivateKey(keyAlgName, sigAlgName); in test_X509KeyManager_alias() 289 assertEquals(keyType, privateKeyEntry.getPrivateKey(), privateKey); in test_X509KeyManager_alias()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/ |
D | ECDHKeyAgreementTest.java | 113 KAT_PRIVATE_KEY1 = getPrivateKey(KAT_PRIVATE_KEY1_PKCS8); 115 KAT_PRIVATE_KEY2 = getPrivateKey(KAT_PRIVATE_KEY2_PKCS8); 134 ECPrivateKey privateKey1 = getPrivateKey(KAT_PRIVATE_KEY1_PKCS8, keyFactoryProvider1); in testKnownAnswer() 138 getPrivateKey(KAT_PRIVATE_KEY2_PKCS8, keyFactoryProvider2); in testKnownAnswer() 463 private static ECPrivateKey getPrivateKey(byte[] pkcs8EncodedKey, Provider provider) in getPrivateKey() method in ECDHKeyAgreementTest 475 private static ECPrivateKey getPrivateKey(byte[] pkcs8EncodedKey) in getPrivateKey() method in ECDHKeyAgreementTest
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/ |
D | ECDHKeyAgreementTest.java | 115 KAT_PRIVATE_KEY1 = getPrivateKey(KAT_PRIVATE_KEY1_PKCS8); 117 KAT_PRIVATE_KEY2 = getPrivateKey(KAT_PRIVATE_KEY2_PKCS8); 136 ECPrivateKey privateKey1 = getPrivateKey(KAT_PRIVATE_KEY1_PKCS8, keyFactoryProvider1); in testKnownAnswer() 140 getPrivateKey(KAT_PRIVATE_KEY2_PKCS8, keyFactoryProvider2); in testKnownAnswer() 465 private static ECPrivateKey getPrivateKey(byte[] pkcs8EncodedKey, Provider provider) in getPrivateKey() method in ECDHKeyAgreementTest 477 private static ECPrivateKey getPrivateKey(byte[] pkcs8EncodedKey) in getPrivateKey() method in ECDHKeyAgreementTest
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/ |
D | ForwardingX509ExtendedKeyManager.java | 63 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in ForwardingX509ExtendedKeyManager 64 return delegate.getPrivateKey(alias); in getPrivateKey()
|
D | RandomPrivateKeyX509ExtendedKeyManager.java | 44 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in RandomPrivateKeyX509ExtendedKeyManager 45 PrivateKey originalPrivateKey = super.getPrivateKey(alias); in getPrivateKey()
|
D | TestKeyManager.java | 173 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in TestKeyManager 177 PrivateKey pk = keyManager.getPrivateKey(alias); in getPrivateKey()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
D | ForwardingX509ExtendedKeyManager.java | 61 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in ForwardingX509ExtendedKeyManager 62 return delegate.getPrivateKey(alias); in getPrivateKey()
|
D | RandomPrivateKeyX509ExtendedKeyManager.java | 42 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in RandomPrivateKeyX509ExtendedKeyManager 43 PrivateKey originalPrivateKey = super.getPrivateKey(alias); in getPrivateKey()
|
D | TestKeyManager.java | 171 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in TestKeyManager 175 PrivateKey pk = keyManager.getPrivateKey(alias); in getPrivateKey()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLECPrivateKey.java | 175 return getPrivateKey(); in getS() 178 private BigInteger getPrivateKey() { in getPrivateKey() method in OpenSSLECPrivateKey 203 if (!getPrivateKey().equals(other.getS())) { in equals()
|
D | OpenSSLKey.java | 295 PrivateKey getPrivateKey() throws NoSuchAlgorithmException { in getPrivateKey() method in OpenSSLKey 306 static PrivateKey getPrivateKey(PKCS8EncodedKeySpec keySpec, int type) in getPrivateKey() method in OpenSSLKey 322 return key.getPrivateKey(); in getPrivateKey()
|
D | KeyManagerImpl.java | 126 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in KeyManagerImpl 131 return hash.get(alias).getPrivateKey(); in getPrivateKey()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLECPrivateKey.java | 176 return getPrivateKey(); in getS() 179 private BigInteger getPrivateKey() { in getPrivateKey() method in OpenSSLECPrivateKey 204 if (!getPrivateKey().equals(other.getS())) { in equals()
|
D | OpenSSLKey.java | 300 PrivateKey getPrivateKey() throws NoSuchAlgorithmException { in getPrivateKey() method in OpenSSLKey 311 static PrivateKey getPrivateKey(PKCS8EncodedKeySpec keySpec, int type) in getPrivateKey() method in OpenSSLKey 327 return key.getPrivateKey(); in getPrivateKey()
|
D | KeyManagerImpl.java | 127 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in KeyManagerImpl 132 return hash.get(alias).getPrivateKey(); in getPrivateKey()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/ |
D | TrustManagerImplTest.java | 59 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in testLearnIntermediate() 94 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in testDuplicateInChain() 110 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in testGetFullChain() 134 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServerHostname().getPrivateKey("RSA", "RSA"); in testHttpsEndpointIdentification()
|
/external/conscrypt/common/src/test/java/org/conscrypt/ |
D | TrustManagerImplTest.java | 55 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in testLearnIntermediate() 90 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in testDuplicateInChain() 106 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in testGetFullChain() 130 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServerHostname().getPrivateKey("RSA", "RSA"); in testHttpsEndpointIdentification()
|
/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/ |
D | OpenJdkEngineFactory.java | 231 .trustManager((X509Certificate[]) server.getPrivateKey("RSA", "RSA") in newNettyClientContext() 245 PrivateKeyEntry server = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in newNettyServerContext() 248 .forServer(server.getPrivateKey(), in newNettyServerContext()
|
/external/grpc-grpc-java/auth/src/main/java/io/grpc/auth/ |
D | GoogleAuthLibraryCallCredentials.java | 262 private final Method getPrivateKey; field in GoogleAuthLibraryCallCredentials.JwtHelper 271 getPrivateKey = serviceAccountClass.getMethod("getPrivateKey"); in JwtHelper() 295 getPrivateKey.invoke(creds), in tryServiceAccountToJwt()
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | OpenSSLKeyTest.java | 65 OpenSSLRSAPrivateKey privateKey = (OpenSSLRSAPrivateKey)key.getPrivateKey(); in test_fromPrivateKeyPemInputStream()
|