Home | History | Annotate | Download | only in pkcs12

Lines Matching refs:CERTIFICATE

25 import java.security.cert.Certificate;
132 static final int CERTIFICATE = 1;
279 * tricky if a certificate appears in more than one chain... the store method
288 Certificate c = (Certificate)certs.remove(alias);
300 c = (Certificate)keyCerts.remove(id);
312 public Certificate engineGetCertificate(
320 Certificate c = (Certificate)certs.get(alias);
330 c = (Certificate)keyCerts.get(id);
334 c = (Certificate)keyCerts.get(alias);
342 Certificate cert)
349 Certificate tc = (Certificate)c.nextElement();
363 Certificate tc = (Certificate)c.nextElement();
375 public Certificate[] engineGetCertificateChain(
388 Certificate c = engineGetCertificate(alias);
397 Certificate nextC = null;
412 nextC = (Certificate)chainCerts.get(new CertId(id.getKeyIdentifier()));
457 c = null; // we've got a certificate chain loop time to stop
473 Certificate[] certChain = new Certificate[cs.size()];
477 certChain[i] = (Certificate)cs.elementAt(i);
526 Certificate cert)
541 Certificate[] chain)
551 Certificate[] chain)
561 throw new KeyStoreException("no certificate chain for private key");
1118 throw new RuntimeException("Unsupported certificate type: " + cb.getCertId());
1121 Certificate cert;
1316 Certificate ct = engineGetCertificate(name);
1343 Certificate ct = engineGetCertificate(name);
1366 // certificate processing
1383 Certificate cert = engineGetCertificate(name);
1449 throw new IOException("Error encoding certificate: " + e.toString());
1459 Certificate cert = (Certificate)certs.get(certId);
1490 // a certificate not immediately linked to a key doesn't require
1527 throw new IOException("Error encoding certificate: " + e.toString());
1539 Certificate cert = (Certificate)chainCerts.get(certId);
1565 // a certificate not immediately linked to a key doesn't require
1588 throw new IOException("Error encoding certificate: " + e.toString());
1672 Certificate[] certs = engineGetCertificateChain(alias);
1684 Certificate cert = engineGetCertificate(alias);