Searched refs:cert2 (Results 1 – 4 of 4) sorted by relevance
295 X509Certificate cert2 = (X509Certificate) in test_getCertificate() local302 selector.setCertificate(cert2); in test_getCertificate()303 assertEquals(cert2, selector.getCertificate()); in test_getCertificate()537 TestCert cert2 = new TestCert(sans2); in test_getPathToNames() local544 selector.match(cert1) && selector.match(cert2)); in test_getPathToNames()806 X509Certificate cert2 = (X509Certificate) in test_matchLjava_security_cert_Certificate() local812 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 …]
444 Certificate cert2 = mock(Certificate.class); in testCertPathValidatorException_constructsCorrectlyWithReason() local447 certList.add(cert2); in testCertPathValidatorException_constructsCorrectlyWithReason()
181 private static final String cert2 = field in CertPathEncodingTest240 certs.add(certFac.generateCertificate(new ByteArrayInputStream(cert2.getBytes()))); in testCertPathEncoding()
277 Certificate cert2 = keyTest.getCertificate("alias2"); in test_getCertificateLjava_lang_String() local279 cert2, cert[0]); in test_getCertificateLjava_lang_String()311 X509Certificate cert2 = (X509Certificate) cf.generateCertificate(certArray3); in test_getCertificateAliasLjava_security_cert_Certificate() local312 String aliasNull = keyTest.getCertificateAlias(cert2); in test_getCertificateAliasLjava_security_cert_Certificate()