Lines Matching defs:cert
36 import java.security.cert.*;
67 private transient java.security.cert.Certificate certs[] = null;
72 // for generating cert paths
84 public CodeSource(URL url, java.security.cert.Certificate certs[]) {
184 public final java.security.cert.Certificate[] getCertificates() {
190 ArrayList<java.security.cert.Certificate> certChains =
197 new java.security.cert.Certificate[certChains.size()]);
504 // write out each cert, including its type
506 java.security.cert.Certificate cert = certs[i];
508 oos.writeUTF(cert.getType());
509 byte[] encoded = cert.getEncoded();
538 // we know of 3 different cert types: X.509, PGP, SDSI, which
541 this.certs = new java.security.cert.Certificate[size];
590 * where the initial certificate in each chain is the end-entity cert.
595 java.security.cert.Certificate[] certs) {
611 List<java.security.cert.Certificate> certChain =
613 certChain.add(certs[i++]); // first cert is an end-entity cert