Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/tests/security/cert/
DX509CertSelectorTest.java291 X509Certificate cert1 = (X509Certificate) in test_getCertificate() local
299 selector.setCertificate(cert1); in test_getCertificate()
300 assertEquals(cert1, selector.getCertificate()); in test_getCertificate()
536 TestCert cert1 = new TestCert(sans1); in test_getPathToNames() local
544 selector.match(cert1) && selector.match(cert2)); in test_getPathToNames()
802 X509Certificate cert1 = (X509Certificate) in test_matchLjava_security_cert_Certificate() local
810 selector.setCertificate(cert1); in test_matchLjava_security_cert_Certificate()
811 assertTrue(selector.match(cert1)); in test_matchLjava_security_cert_Certificate()
815 assertFalse(selector.match(cert1)); in test_matchLjava_security_cert_Certificate()
827 TestCert cert1 = new TestCert(akid1); in test_setAuthorityKeyIdentifierLB$() local
[all …]
DCertPathValidatorExceptionTest.java443 Certificate cert1 = mock(Certificate.class); in testCertPathValidatorException_constructsCorrectlyWithReason() local
446 certList.add(cert1); in testCertPathValidatorException_constructsCorrectlyWithReason()
/libcore/ojluni/src/test/java/security/cert/
DCertPathEncodingTest.java101 private static final String cert1 = field in CertPathEncodingTest
239 certs.add(certFac.generateCertificate(new ByteArrayInputStream(cert1.getBytes()))); in testCertPathEncoding()
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CertificateTest.java1125 X509Certificate cert1 = (X509Certificate) f.generateCertificate(bais); in generateCertificate_PEM_TrailingData() local
1138 X509Certificate cert1 = (X509Certificate) f.generateCertificate(bais);