/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore3Test.java | 72 mockKeyStore.setKeyEntry(null, null, null, null); in test_setKeyEntry_null() 78 mockKeyStore.setKeyEntry("Alias", null, null, new Certificate[]{certificate}); in test_setKeyEntry_key_is_null() 85 mockKeyStore.setKeyEntry("Alias", key, null, null); in test_setKeyEntry_key_is_private() 92 mockKeyStore.setKeyEntry("Alias", key, null, in test_setKeyEntry_key_is_private() 99 mockKeyStore.setKeyEntry("Alias", key, null, new Certificate[]{certificate}); in test_setKeyEntry_key_is_private() 106 mockKeyStore.setKeyEntry("Alias1", key, null, null); in test_setKeyEntry_key_is_public() 107 mockKeyStore.setKeyEntry("Alias2", key, null, in test_setKeyEntry_key_is_public() 109 mockKeyStore.setKeyEntry("Alias3", key, null, new Certificate[]{certificate}); in test_setKeyEntry_key_is_public()
|
D | KeyStore2Test.java | 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() 431 keyTest.setKeyEntry("alias2", getPrivateKey(), pssWord, cert); in test_isCertificateEntryLjava_lang_String() 462 keyTest.setKeyEntry("alias2", getPrivateKey(), pssWord, cert); in test_isKeyEntryLjava_lang_String() 554 keyTest.setKeyEntry("alias3", getPrivateKey(), pssWord, cert); in test_setKeyEntryLjava_lang_StringLjava_security_Key$C$Ljava_security_cert_Certificate() 561 keyTest.setKeyEntry("alias3", getPrivateKey(), pssWord, cert); in test_setKeyEntryLjava_lang_StringLjava_security_Key$C$Ljava_security_cert_Certificate() 566 keyTest.setKeyEntry("alias4", getPrivateKey(), pssWord, new Certificate[] {}); in test_setKeyEntryLjava_lang_StringLjava_security_Key$C$Ljava_security_cert_Certificate() 596 keyTest.setKeyEntry("alias2", getPrivateKey(), pssWord, cert); in test_size() [all …]
|
D | KeyStoreTest.java | 161 kss[i].setKeyEntry("proba", null, null); in testSetKeyEntry() 165 kss[i].setKeyEntry(alias, kk, certs); in testSetKeyEntry() 172 kss[i].setKeyEntry(alias, kk, null); in testSetKeyEntry() 260 keyStore.setKeyEntry(alias, secretKey, "pwd".toCharArray(), null); in testEngineEntryInstanceOf()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | X509KeyManagerTest.java | 639 … keyTest.setKeyEntry("clientKey_01", keys[0], PASSWORD, new X509Certificate[] {cert[0]}); in init() 640 … keyTest.setKeyEntry("clientKey_02", keys[1], PASSWORD, new X509Certificate[] {cert[0], cert[1]}); in init() 641 … keyTest.setKeyEntry("clientKey_03", keys[2], PASSWORD, new X509Certificate[] {cert[0], cert[2]}); in init() 650 … keyTest.setKeyEntry("serverKey_00", keys[0], PASSWORD, new X509Certificate[] {cert[0]}); in init()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | PKIXParametersTest.java | 69 ks.setKeyEntry("key", pke.getPrivateKey(), password, pke.getCertificateChain()); in keyStoreConstructor() 76 keyOnly.setKeyEntry("key", pke.getPrivateKey(), password, pke.getCertificateChain()); in keyStoreConstructor()
|
/libcore/ojluni/annotations/hiddenapi/java/security/ |
D | KeyStore.java | 90 public final void setKeyEntry( in setKeyEntry() method in KeyStore 99 public final void setKeyEntry( in setKeyEntry() method in KeyStore
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyStore.java | 1166 public final void setKeyEntry(String alias, Key key, char[] password, in setKeyEntry() method in KeyStore 1206 public final void setKeyEntry(String alias, byte[] key, in setKeyEntry() method in KeyStore
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 635 keyStore.setKeyEntry(privateAlias, privateKey, keyPassword, x509cc); in createKeys()
|
/libcore/api/ |
D | current.txt | 7505 …method public final void setKeyEntry(String, java.security.Key, char[], java.security.cert.Certifi… 7506 …method public final void setKeyEntry(String, byte[], java.security.cert.Certificate[]) throws java…
|