/** * 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; }
/** * 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; }