Searched refs:setKeyEntry (Results 1 – 7 of 7) sorted by relevance
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()
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()
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 …]
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()
69 ks.setKeyEntry("key", pke.getPrivateKey(), password, pke.getCertificateChain()); in keyStoreConstructor()76 keyOnly.setKeyEntry("key", pke.getPrivateKey(), password, pke.getCertificateChain()); in keyStoreConstructor()
1166 public final void setKeyEntry(String alias, Key key, char[] password, in setKeyEntry() method in KeyStore1206 public final void setKeyEntry(String alias, byte[] key, in setKeyEntry() method in KeyStore
635 keyStore.setKeyEntry(privateAlias, privateKey, keyPassword, x509cc); in createKeys()