Lines Matching defs:certificates

64     private X509Certificate[] certificates = null;
203 * @param certificates an array of X.509 certificates.
209 X509Certificate[] certificates,
216 this.certificates = certificates;
223 X509Certificate[] certificates,
225 this(digestAlgorithmIds, contentInfo, certificates, null, signerInfos);
232 certificates = new X509Certificate[contents.length];
245 certificates[i] = new X509CertImpl(contents[i]);
249 certificates[i] =
305 * check if certificates (implicit tag) are provided
306 * (certificates are OPTIONAL)
312 certificates = new X509Certificate[len];
323 certificates[count] = new X509CertImpl(certVals[i]);
327 certificates[count] =
348 certificates = Arrays.copyOf(certificates, count);
424 // certificates
433 certificates = new X509Certificate[len];
439 certificates[i] = new X509CertImpl(certVals[i]);
443 certificates[i] =
507 // certificates (optional)
508 if (certificates != null && certificates.length != 0) {
510 X509CertImpl[] implCerts = new X509CertImpl[certificates.length];
511 for (int i = 0; i < certificates.length; i++) {
512 if (certificates[i] instanceof X509CertImpl)
513 implCerts[i] = (X509CertImpl) certificates[i];
516 byte[] encoded = certificates[i].getEncoded();
646 * Returns the X.509 certificates listed in this PKCS7 block.
647 * @return a clone of the array of X.509 certificates or null if
651 if (certificates != null)
652 return certificates.clone();
687 if (certificates != null) {
690 for (int i = 0; i < certificates.length; i++) {
691 X509Certificate cert = certificates[i];
704 * Populate array of Issuer DNs from certificates and convert
708 if (certificates == null)
711 certIssuerNames = new Principal[certificates.length];
712 for (int i = 0; i < certificates.length; i++) {
713 X509Certificate cert = certificates[i];
749 if (certificates != null) {
750 out += "PKCS7 :: certificates: \n";
751 for (int i = 0; i < certificates.length; i++)
752 out += "\t" + i + ". " + certificates[i] + "\n";