/** Constructor. */ public CertPathPKIXTrustEvaluator() { options = new PKIXValidationOptions(); x500DNHandler = new InternalX500DNHandler(); }
/** * Get the effective maximum path depth to use when constructing PKIX cert path builder parameters. * * @param validationInfo PKIX validation information * @return the effective max verification depth to use */ protected Integer getEffectiveVerificationDepth(PKIXValidationInformation validationInfo) { Integer effectiveVerifyDepth = validationInfo.getVerificationDepth(); if (effectiveVerifyDepth == null) { effectiveVerifyDepth = options.getDefaultVerificationDepth(); } return effectiveVerifyDepth; }
boolean isEmpty = crl.getRevokedCertificates() == null || crl.getRevokedCertificates().isEmpty(); boolean isExpired = crl.getNextUpdate().before(now); if (!isEmpty || options.isProcessEmptyCRLs()) { if (!isExpired || options.isProcessExpiredCRLs()) { storeMaterial.add(crl); if (log.isTraceEnabled()) {
&& options.isProcessCredentialCRLs()) { log.trace("Processing CRL's from untrusted credential"); addCRLsToStoreMaterial(storeMaterial, untrustedCredential.getCRLs(), now);
boolean isEmpty = crl.getRevokedCertificates() == null || crl.getRevokedCertificates().isEmpty(); boolean isExpired = crl.getNextUpdate().before(now); if (!isEmpty || options.isProcessEmptyCRLs()) { if (!isExpired || options.isProcessExpiredCRLs()) { storeMaterial.add(crl); if (log.isTraceEnabled()) {
&& options.isProcessCredentialCRLs()) { log.trace("Processing CRL's from untrusted credential"); addCRLsToStoreMaterial(storeMaterial, untrustedCredential.getCRLs(), now);
/** Constructor. */ public CertPathPKIXTrustEvaluator() { options = new PKIXValidationOptions(); x500DNHandler = new InternalX500DNHandler(); }
/** * Get the effective maximum path depth to use when constructing PKIX cert path builder parameters. * * @param validationInfo PKIX validation information * @return the effective max verification depth to use */ protected Integer getEffectiveVerificationDepth(PKIXValidationInformation validationInfo) { Integer effectiveVerifyDepth = validationInfo.getVerificationDepth(); if (effectiveVerifyDepth == null) { effectiveVerifyDepth = options.getDefaultVerificationDepth(); } return effectiveVerifyDepth; }