Lines Matching refs:X509Certificate
49 private static Collection<X509Certificate> readCertificates(File file) throws Exception {
52 Collection<X509Certificate> certs = (Collection<X509Certificate>)factory.generateCertificates(in);
77 Map<X500Principal,X509Certificate> certs = new LinkedHashMap<X500Principal,X509Certificate>();
87 Collection<X509Certificate> certList = readCertificates(file);
88 for (X509Certificate cert : certList) {
89 X509Certificate old = certs.put(cert.getSubjectX500Principal(), cert);
100 for (X509Certificate cert : certs.values()) {
101 X509Certificate issuer = certs.get(cert.getIssuerX500Principal());
118 List<X509Certificate> certList = new ArrayList<X509Certificate>(certs.values());
120 X509Certificate cert, signer;
139 private static X509Certificate getRandomCert(List<X509Certificate> certs) {