Home
last modified time | relevance | path

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

12

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DSignerTest.java72 assertNull(s.getPrivateKey()); in testSigner()
82 assertNull(s.getPrivateKey()); in testSignerString()
93 assertNull(s.getPrivateKey()); in testSignerStringIdentityScope()
107 assertNull(s.getPrivateKey()); in testGetPrivateKey()
110 assertSame(privateKey, s.getPrivateKey()); in testGetPrivateKey()
DKSPrivateKeyEntryTest.java140 .getPrivateKey()); in testGetPrivateKey()
/external/jetty/src/java/org/eclipse/jetty/util/ssl/
DAliasedX509KeyManager.java103 public PrivateKey getPrivateKey(String alias) in getPrivateKey() method in AliasedX509KeyManager
105 return _keyManager.getPrivateKey(alias); in getPrivateKey()
DAliasedX509ExtendedKeyManager.java105 public PrivateKey getPrivateKey(String alias) in getPrivateKey() method in AliasedX509ExtendedKeyManager
107 return _keyManager.getPrivateKey(alias); in getPrivateKey()
/external/conscrypt/src/test/java/org/conscrypt/
DTrustManagerImplTest.java76 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in testLearnIntermediate()
109 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in testDuplicateInChain()
123 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in testGetFullChain()
145 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in testCertPinning()
168 (X509Certificate)TestKeyStore.getIntermediateCa2().getPrivateKey("RSA", "RSA") in testCertPinning()
DOpenSSLKeyTest.java61 OpenSSLRSAPrivateKey privateKey = (OpenSSLRSAPrivateKey)key.getPrivateKey(); in test_fromPrivateKeyPemInputStream()
DCertPinManagerTest.java59 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in setUp()
DOpenSSLSocketImplTest.java77 openTestFile("cert-key.pem")).getPrivateKey(); in setUp()
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DKeyManagerImplTest.java56 assertNull(km.getPrivateKey("alias")); in testKeyManagerImpl1()
79 assertTrue(km.getPrivateKey("ssl_test_store") != null); in testKeyManagerImpl2()
DDigitalSignatureTest.java43 key = entry.getPrivateKey(); in setUp()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLECPrivateKey.java194 return getPrivateKey(); in getS()
197 private BigInteger getPrivateKey() { in getPrivateKey() method in OpenSSLECPrivateKey
222 if (!getPrivateKey().equals(other.getS())) { in equals()
DOpenSSLKey.java309 public PrivateKey getPrivateKey() throws NoSuchAlgorithmException { in getPrivateKey() method in OpenSSLKey
320 static PrivateKey getPrivateKey(PKCS8EncodedKeySpec keySpec, int type) in getPrivateKey() method in OpenSSLKey
336 return key.getPrivateKey(); in getPrivateKey()
DKeyManagerImpl.java129 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in KeyManagerImpl
134 return hash.get(alias).getPrivateKey(); in getPrivateKey()
DOpenSSLEngine.java101 return pkey.getPrivateKey(); in getPrivateKeyById()
DOpenSSLECKeyFactory.java62 return OpenSSLKey.getPrivateKey((PKCS8EncodedKeySpec) keySpec, in engineGeneratePrivate()
DOpenSSLRSAKeyFactory.java64 return OpenSSLKey.getPrivateKey((PKCS8EncodedKeySpec) keySpec, in engineGeneratePrivate()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
DKeyStore_Impl3Test.java170 ((KeyStore.PrivateKeyEntry) en).getPrivateKey(), in testLoadStore01()
172 .getPrivateKey()); in testLoadStore01()
DKeyStore_Impl1Test.java490 Key key = pKey.getPrivateKey(); in testEntry02()
491 Key key1 = ((KeyStore.PrivateKeyEntry) en).getPrivateKey(); in testEntry02()
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DX509ExtendedKeyManagerTest.java97 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in MyX509ExtendedKeyManager
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DKeyFactory.java30 PrivateKey key = BouncyCastleProvider.getPrivateKey(info); in engineGeneratePrivate()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DPrivateKeyInfo.java115 public ASN1Primitive getPrivateKey() in getPrivateKey() method in PrivateKeyInfo
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DBouncyCastleProvider.java304 public static PrivateKey getPrivateKey(PrivateKeyInfo privateKeyInfo) in getPrivateKey() method in BouncyCastleProvider
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseCipherSpi.java182 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(in); in engineUnwrap()
DECUtil.java209 … PrivateKey privateKey = BouncyCastleProvider.getPrivateKey(PrivateKeyInfo.getInstance(bytes)); in generatePrivateKeyParameter()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseWrapCipher.java368 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(in); in engineUnwrap()

12