Home
last modified time | relevance | path

Searched refs:setKeyEntry (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStore3Test.java72 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()
DKeyStore2Test.java149 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 …]
DKeyStoreTest.java161 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/
DX509KeyManagerTest.java639 … 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/
DPKIXParametersTest.java69 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/
DKeyStore.java90 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/
DKeyStore.java1166 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/
DTestKeyStore.java635 keyStore.setKeyEntry(privateAlias, privateKey, keyPassword, x509cc); in createKeys()
/libcore/api/
Dcurrent.txt7505 …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…