Searched refs:certFac (Results 1 – 2 of 2) sorted by relevance
236 CertificateFactory certFac = CertificateFactory.getInstance("X509"); in testCertPathEncoding() local239 certs.add(certFac.generateCertificate(new ByteArrayInputStream(cert1.getBytes()))); in testCertPathEncoding()240 certs.add(certFac.generateCertificate(new ByteArrayInputStream(cert2.getBytes()))); in testCertPathEncoding()242 CertPath cp = certFac.generateCertPath(certs); in testCertPathEncoding()252 CertPath decodedCP = certFac.generateCertPath(new ByteArrayInputStream(encoded), "PKCS7"); in testCertPathEncoding()
179 CertificateFactory certFac = null; in parsePKIPATH() local192 certFac = CertificateFactory.getInstance("X.509"); in parsePKIPATH()197 certList.add((X509Certificate)certFac.generateCertificate in parsePKIPATH()