Home
last modified time | relevance | path

Searched refs:setCertificateEntry (Results 1 – 13 of 13) sorted by relevance

/libcore/luni/src/test/java/tests/security/cert/
DPKIXBuilderParametersTest.java249 keyTest.setCertificateEntry("alias1", cert[0]); in testPKIXBuilderParametersKeyStoreCertSelector04()
250 keyTest.setCertificateEntry("alias2", cert[0]); in testPKIXBuilderParametersKeyStoreCertSelector04()
251 keyTest.setCertificateEntry("alias3", cert[1]); in testPKIXBuilderParametersKeyStoreCertSelector04()
280 keyTest.setCertificateEntry("alias1", cert[0]); in testGetMaxPathLength()
281 keyTest.setCertificateEntry("alias2", cert[0]); in testGetMaxPathLength()
282 keyTest.setCertificateEntry("alias3", cert[1]); in testGetMaxPathLength()
308 keyTest.setCertificateEntry("alias1", cert[0]); in testSetMaxPathLength()
309 keyTest.setCertificateEntry("alias2", cert[0]); in testSetMaxPathLength()
310 keyTest.setCertificateEntry("alias3", cert[1]); in testSetMaxPathLength()
351 keyTest.setCertificateEntry("alias1", cert[0]); in testToString()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStore2Test.java146 keyTest.setCertificateEntry("alias1", cert[0]); in creatCertificate()
152 keyTest.setCertificateEntry("alias3", cert[1]); in creatCertificate()
185 keyTest.setCertificateEntry("alias1", cert[0]); in test_aliases()
188 keyTest.setCertificateEntry("alias2", cert[0]); in test_aliases()
191 keyTest.setCertificateEntry("alias3", cert[0]); in test_aliases()
228 keyTest.setCertificateEntry("alias1", cert[0]); in test_containsAliasLjava_lang_String()
231 keyTest.setCertificateEntry("alias2", cert[0]); in test_containsAliasLjava_lang_String()
266 keyTest.setCertificateEntry("alias1", cert[0]); in test_getCertificateLjava_lang_String()
274 keyTest.setCertificateEntry("alias2", cert[0]); in test_getCertificateLjava_lang_String()
298 keyTest.setCertificateEntry("alias1", cert[1]); in test_getCertificateAliasLjava_security_cert_Certificate()
[all …]
DKeyStore3Test.java115 mockKeyStore.setCertificateEntry(null, null); in test_setCertificateEntry_null()
117 mockKeyStore.setCertificateEntry(null, certificate); in test_setCertificateEntry_null()
119 mockKeyStore.setCertificateEntry("Alias", null); in test_setCertificateEntry_null()
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DX509KeyManagerImpl.java100 keyTest.setCertificateEntry("clientAlias_01", cert[0]); in X509KeyManagerImpl()
101 keyTest.setCertificateEntry("clientAlias_02", cert[0]); in X509KeyManagerImpl()
102 keyTest.setCertificateEntry("clientAlias_03", cert[1]); in X509KeyManagerImpl()
109 keyTest.setCertificateEntry("serverAlias_00", cert[0]); in X509KeyManagerImpl()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DX509KeyManagerTest.java642 keyTest.setCertificateEntry("clientAlias_01", cert[0]); in init()
643 keyTest.setCertificateEntry("clientAlias_02", cert[0]); in init()
644 keyTest.setCertificateEntry("clientAlias_03", cert[1]); in init()
651 keyTest.setCertificateEntry("serverAlias_00", cert[0]); in init()
/libcore/luni/src/test/java/libcore/java/security/cert/
DPKIXParametersTest.java38 ks.setCertificateEntry("cert", pke.getCertificateChain()[0]); in testKeyStoreConstructor()
DOldPKIXParametersTest.java206 keystore.setCertificateEntry("test", TestUtils.rootCertificateSS); in testPKIXParametersKeyStore04()
/libcore/luni/src/test/java/tests/targets/security/cert/
DCertPathBuilderTestPKIX.java49 keyStore.setCertificateEntry("rootCA", clientAndCa.getRootCertificate("RSA")); in getCertPathParameters()
DCertPathValidatorTestPKIX.java65 keyStore.setCertificateEntry("selfSignedCert", selfSignedcertificate); in setUp()
DCertificateTest.java736 keyStore.setCertificateEntry("selfSignedCert", certs[0]); in createPKIXParams()
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java513 keyStore.setCertificateEntry(aliasPrefix in build()
638 keyStore.setCertificateEntry(publicAlias, x509c); in createKeys()
1056 dst.setCertificateEntry(alias, cert); in copySelfSignedCertificates()
1079 dst.setCertificateEntry(alias, cert); in copyCertificate()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DTrustManagerFactoryTest.java221 keyStore.setCertificateEntry("alias", chain[1]); in test_TrustManagerFactory_intermediate()
/libcore/ojluni/src/main/java/java/security/
DKeyStore.java1234 public final void setCertificateEntry(String alias, Certificate cert) in setCertificateEntry() method in KeyStore