/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore2Test.java | 59 private static PrivateKey getPrivateKey() throws Exception { in getPrivateKey() method in KeyStore2Test 149 keyTest.setKeyEntry("alias2", getPrivateKey(), pssWord, cert); in creatCertificate() 305 keyTest.setKeyEntry("alias2", getPrivateKey(), pssWord, cert); in test_getCertificateAliasLjava_security_cert_Certificate() 341 keyTest.setKeyEntry("alias2", getPrivateKey(), pssWord, cert); in test_getCertificateChainLjava_lang_String() 388 keyTest.setKeyEntry("alias2", getPrivateKey(), pssWord, cert); in test_getKeyLjava_lang_String$C() 391 byte[] priB = getPrivateKey().getEncoded(); in test_getKeyLjava_lang_String$C() 393 assertEquals(getPrivateKey().getAlgorithm(), returnedKey.getAlgorithm()); in test_getKeyLjava_lang_String$C() 394 assertEquals(getPrivateKey().getFormat(), returnedKey.getFormat()); in test_getKeyLjava_lang_String$C() 431 keyTest.setKeyEntry("alias2", getPrivateKey(), pssWord, cert); in test_isCertificateEntryLjava_lang_String() 462 keyTest.setKeyEntry("alias2", getPrivateKey(), pssWord, cert); in test_isKeyEntryLjava_lang_String() [all …]
|
D | SignerTest.java | 82 assertNull(s.getPrivateKey()); in testSigner() 92 assertNull(s.getPrivateKey()); in testSignerString() 108 assertNull(s.getPrivateKey()); in testSignerStringIdentityScope() 138 assertNull(s.getPrivateKey()); in testGetPrivateKey() 141 assertSame(privateKey, s.getPrivateKey()); in testGetPrivateKey()
|
D | KSPrivateKeyEntryTest.java | 151 .getPrivateKey()); in testGetPrivateKey()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | CertPathValidatorTest.java | 86 PrivateKeyEntry serverEntry = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); in runOCSPStapledTest() 87 PrivateKeyEntry caEntry = TestKeyStore.getIntermediateCa().getPrivateKey("RSA", "RSA"); in runOCSPStapledTest() 88 PrivateKeyEntry rootCaEntry = TestKeyStore.getRootCa().getPrivateKey("RSA", "RSA"); in runOCSPStapledTest() 92 (X509Certificate) caEntry.getCertificate(), caEntry.getPrivateKey(), certStatus); in runOCSPStapledTest()
|
D | PKIXParametersTest.java | 61 KeyStore.PrivateKeyEntry pke = server.getPrivateKey("RSA", "RSA"); in keyStoreConstructor() 69 ks.setKeyEntry("key", pke.getPrivateKey(), password, pke.getCertificateChain()); in keyStoreConstructor() 76 keyOnly.setKeyEntry("key", pke.getPrivateKey(), password, pke.getCertificateChain()); in keyStoreConstructor()
|
D | PKIXRevocationCheckerTest.java | 50 entity = server.getPrivateKey("RSA", "RSA"); in setUp() 51 issuer = intermediate.getPrivateKey("RSA", "RSA"); in setUp()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | ForwardingX509ExtendedKeyManager.java | 73 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in ForwardingX509ExtendedKeyManager 74 return delegate.getPrivateKey(alias); in getPrivateKey()
|
D | RandomPrivateKeyX509ExtendedKeyManager.java | 45 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in RandomPrivateKeyX509ExtendedKeyManager 46 PrivateKey originalPrivateKey = super.getPrivateKey(alias); in getPrivateKey()
|
D | TestKeyManager.java | 166 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in TestKeyManager 170 PrivateKey pk = keyManager.getPrivateKey(alias); in getPrivateKey()
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 217 .signer(ROOT_CA.getPrivateKey("RSA", "RSA")) in initCerts() 225 .signer(ROOT_CA.getPrivateKey("RSA", "RSA")) in initCerts() 231 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts() 241 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts() 248 .signer(INTERMEDIATE_CA_EC.getPrivateKey("EC", "RSA")) in initCerts() 254 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts() 266 .signer(rootCa2.getPrivateKey("RSA", "RSA")) in initCerts() 554 caKey = signer.getPrivateKey(); in createKeys() 605 privateKey = privateEntry.getPrivateKey(); in createKeys() 819 public PrivateKeyEntry getPrivateKey(String keyAlgorithm, String signatureAlgorithm) { in getPrivateKey() method in TestKeyStore [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | X509ExtendedKeyManagerTest.java | 75 public PrivateKey getPrivateKey(String arg0) { in getPrivateKey() method in X509ExtendedKeyManagerTest.MockX509ExtendedKeyManager 172 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() method in MyX509ExtendedKeyManager
|
D | X509KeyManagerTest.java | 735 assertNull("Not NULL for NULL parameter", manager.getPrivateKey(null)); in test_getPrivateKey() 736 … assertNull("Not NULL for serverAlias_00 parameter", manager.getPrivateKey("serverAlias_00")); in test_getPrivateKey() 737 … assertNull("Not NULL for clientAlias_02 parameter", manager.getPrivateKey("clientAlias_02")); in test_getPrivateKey()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | X509KeyManager.java | 133 public PrivateKey getPrivateKey(String alias); in getPrivateKey() method
|
/libcore/ojluni/src/main/java/java/security/ |
D | Signer.java | 108 public PrivateKey getPrivateKey() { in getPrivateKey() method in Signer
|
D | KeyStoreSpi.java | 538 ((KeyStore.PrivateKeyEntry)entry).getPrivateKey(), in engineSetEntry()
|
D | KeyStore.java | 603 public PrivateKey getPrivateKey() { in getPrivateKey() method in KeyStore.PrivateKeyEntry
|
/libcore/luni/src/test/java/tests/targets/security/cert/ |
D | CertPathBuilderTestPKIX.java | 44 PrivateKeyEntry pke = clientAndCa.getPrivateKey("RSA", "RSA"); in getCertPathParameters()
|
/libcore/luni/src/test/java/tests/targets/security/ |
D | KeyStoreTest.java | 142 PrivateKey privateKey = entry.getPrivateKey(); in testKeyStoreCreate()
|
/libcore/ojluni/annotations/hiddenapi/java/security/ |
D | KeyStore.java | 403 public java.security.PrivateKey getPrivateKey() { in getPrivateKey() method in KeyStore.PrivateKeyEntry
|
/libcore/api/ |
D | current.txt | 7552 method public java.security.PrivateKey getPrivateKey(); 7911 method @Deprecated public java.security.PrivateKey getPrivateKey(); 18157 method public java.security.PrivateKey getPrivateKey(String);
|