/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/ |
D | TrustManagerFactoryTest.java | 169 PrivateKeyEntry pke = getTestKeyStore().getPrivateKey(keyAlgName, sigAlgName); in test_X509TrustManager() 229 PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in test_TrustManagerFactory_intermediate() 268 KeyStore.PrivateKeyEntry pke = getTestKeyStore().getPrivateKey("RSA", "RSA"); in test_TrustManagerFactory_keyOnly() 269 ks.setKeyEntry("key", pke.getPrivateKey(), "pw".toCharArray(), pke.getCertificateChain()); in test_TrustManagerFactory_keyOnly() 310 .signer(intermediateCa.getPrivateKey("RSA", "RSA")) in test_TrustManagerFactory_extendedKeyUsage() 315 PrivateKeyEntry privateKeyEntry = leaf.getPrivateKey(algorithm, algorithm); in test_TrustManagerFactory_extendedKeyUsage()
|
D | KeyManagerFactoryTest.java | 233 assertNull(keyType, km.getPrivateKey(alias)); in test_X509KeyManager_alias() 239 PrivateKey privateKey = km.getPrivateKey(alias); in test_X509KeyManager_alias() 248 PrivateKeyEntry privateKeyEntry = getTestKeyStore().getPrivateKey(keyAlgName, sigAlgName); in test_X509KeyManager_alias() 252 assertEquals(keyType, privateKeyEntry.getPrivateKey(), privateKey); in test_X509KeyManager_alias()
|
D | X509KeyManagerTest.java | 59 .signer(ca.getPrivateKey(caKeyType, caKeyType)) in test_ChooseClientAlias_KeyType()
|
/external/conscrypt/testing/src/main/java/libcore/java/security/ |
D | TestKeyStore.java | 220 .signer(ROOT_CA.getPrivateKey("RSA", "RSA")) in initCerts() 228 .signer(ROOT_CA.getPrivateKey("RSA", "RSA")) in initCerts() 234 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts() 244 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts() 251 .signer(INTERMEDIATE_CA_EC.getPrivateKey("EC", "RSA")) in initCerts() 257 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts() 269 .signer(rootCa2.getPrivateKey("RSA", "RSA")) in initCerts() 557 caKey = signer.getPrivateKey(); in createKeys() 616 privateKey = privateEntry.getPrivateKey(); in createKeys() 802 public PrivateKeyEntry getPrivateKey(String keyAlgorithm, String signatureAlgorithm) { in getPrivateKey() method in TestKeyStore [all …]
|
/external/conscrypt/testing/src/main/java/libcore/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/benchmark-base/src/main/java/org/conscrypt/ |
D | EngineType.java | 164 .trustManager((X509Certificate[]) server.getPrivateKey("RSA", "RSA") in newNettyClientContext() 174 PrivateKeyEntry server = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in newNettyServerContext() 177 .forServer(server.getPrivateKey(), in newNettyServerContext()
|
/external/conscrypt/platform/src/test/java/org/conscrypt/ |
D | TrustManagerImplTest.java | 41 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in testLearnIntermediate() 74 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in testDuplicateInChain() 88 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in testGetFullChain()
|
D | CertPinManagerTest.java | 34 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in setUp()
|
D | TrustedCertificateStoreTest.java | 247 PRIVATE = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in initCerts() 646 PrivateKey privateKey = getPrivate().getPrivateKey(); in testIsTrustAnchorWithReissuedgetCa()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLECPrivateKey.java | 174 return getPrivateKey(); in getS() 177 private BigInteger getPrivateKey() { in getPrivateKey() method in OpenSSLECPrivateKey 202 if (!getPrivateKey().equals(other.getS())) { in equals()
|
D | OpenSSLKey.java | 286 PrivateKey getPrivateKey() throws NoSuchAlgorithmException { in getPrivateKey() method in OpenSSLKey 297 static PrivateKey getPrivateKey(PKCS8EncodedKeySpec keySpec, int type) in getPrivateKey() method in OpenSSLKey 313 return key.getPrivateKey(); in getPrivateKey()
|
D | KeyManagerImpl.java | 128 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in KeyManagerImpl 133 return hash.get(alias).getPrivateKey(); in getPrivateKey()
|
D | OpenSSLECKeyFactory.java | 68 return OpenSSLKey.getPrivateKey((PKCS8EncodedKeySpec) keySpec, in engineGeneratePrivate()
|
D | OpenSSLRSAKeyFactory.java | 71 return OpenSSLKey.getPrivateKey((PKCS8EncodedKeySpec) keySpec, in engineGeneratePrivate()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | OpenSSLKeyTest.java | 61 OpenSSLRSAPrivateKey privateKey = (OpenSSLRSAPrivateKey)key.getPrivateKey(); in test_fromPrivateKeyPemInputStream()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | KeyFactory.java | 30 PrivateKey key = BouncyCastleProvider.getPrivateKey(info); in engineGeneratePrivate()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | PrivateKeyInfo.java | 115 public ASN1Primitive getPrivateKey() in getPrivateKey() method in PrivateKeyInfo
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | BaseCipherSpi.java | 188 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(in); in engineUnwrap()
|
D | ECUtil.java | 264 … PrivateKey privateKey = BouncyCastleProvider.getPrivateKey(PrivateKeyInfo.getInstance(bytes)); in generatePrivateKeyParameter()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | BouncyCastleProvider.java | 345 public static PrivateKey getPrivateKey(PrivateKeyInfo privateKeyInfo) in getPrivateKey() method in BouncyCastleProvider
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
D | EcdhTest.java | 112 public ECPrivateKey getPrivateKey() throws NoSuchAlgorithmException, InvalidKeySpecException { in getPrivateKey() method in EcdhTest.EcdhTestVector 852 ka.init(t.getPrivateKey()); in testVectors()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | CertInstallerHelper.java | 132 mUserKey = entry.getPrivateKey(); in installFrom()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | BaseWrapCipher.java | 368 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(in); in engineUnwrap()
|