Class CertificatePoliciesValidation
java.lang.Object
org.bouncycastle.cert.path.validations.CertificatePoliciesValidation
- All Implemented Interfaces:
CertPathValidation, org.bouncycastle.util.Memoable
Tracks the explicit_policy, policy_mapping and inhibit_anyPolicy counters of RFC 5280 sec. 6.1
along a path. It does not process certificate policies: there is no valid_policy_tree, and no
certificate is rejected by it. It therefore does not report the policyConstraints or
inhibitAnyPolicy extensions as handled - RFC 5280 requires both to be critical, and a path
carrying them is left reported as having unhandled critical extensions rather than being
accepted with its policy constraints unenforced.
-
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.util.Memoablecopy()voidreset(org.bouncycastle.util.Memoable other) voidvalidate(CertPathValidationContext context, X509CertificateHolder certificate)
-
Method Details
-
validate
public void validate(CertPathValidationContext context, X509CertificateHolder certificate) throws CertPathValidationException - Specified by:
validatein interfaceCertPathValidation- Throws:
CertPathValidationException
-
copy
public org.bouncycastle.util.Memoable copy()- Specified by:
copyin interfaceorg.bouncycastle.util.Memoable
-
reset
public void reset(org.bouncycastle.util.Memoable other) - Specified by:
resetin interfaceorg.bouncycastle.util.Memoable
-