Home
last modified time | relevance | path

Searched refs:cert2 (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/tests/security/cert/
DX509CertSelectorTest.java295 X509Certificate cert2 = (X509Certificate) in test_getCertificate() local
302 selector.setCertificate(cert2); in test_getCertificate()
303 assertEquals(cert2, selector.getCertificate()); in test_getCertificate()
537 TestCert cert2 = new TestCert(sans2); in test_getPathToNames() local
544 selector.match(cert1) && selector.match(cert2)); in test_getPathToNames()
806 X509Certificate cert2 = (X509Certificate) in test_matchLjava_security_cert_Certificate() local
812 assertFalse(selector.match(cert2)); in test_matchLjava_security_cert_Certificate()
814 selector.setCertificate(cert2); in test_matchLjava_security_cert_Certificate()
816 assertTrue(selector.match(cert2)); in test_matchLjava_security_cert_Certificate()
828 TestCert cert2 = new TestCert(akid2); in test_setAuthorityKeyIdentifierLB$() local
[all …]
DCertPathValidatorExceptionTest.java444 Certificate cert2 = mock(Certificate.class); in testCertPathValidatorException_constructsCorrectlyWithReason() local
447 certList.add(cert2); in testCertPathValidatorException_constructsCorrectlyWithReason()
/libcore/ojluni/src/test/java/security/cert/
DCertPathEncodingTest.java181 private static final String cert2 = field in CertPathEncodingTest
240 certs.add(certFac.generateCertificate(new ByteArrayInputStream(cert2.getBytes()))); in testCertPathEncoding()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStore2Test.java277 Certificate cert2 = keyTest.getCertificate("alias2"); in test_getCertificateLjava_lang_String() local
279 cert2, cert[0]); in test_getCertificateLjava_lang_String()
311 X509Certificate cert2 = (X509Certificate) cf.generateCertificate(certArray3); in test_getCertificateAliasLjava_security_cert_Certificate() local
312 String aliasNull = keyTest.getCertificateAlias(cert2); in test_getCertificateAliasLjava_security_cert_Certificate()