org.bouncycastle.cert.path.validations
Class CertificatePoliciesValidation
java.lang.Object
org.bouncycastle.cert.path.validations.CertificatePoliciesValidation
- All Implemented Interfaces:
- CertPathValidation, org.bouncycastle.util.Memoable
- public class CertificatePoliciesValidation
- extends java.lang.Object
- implements CertPathValidation
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
validate
public void validate(CertPathValidationContext context,
X509CertificateHolder certificate)
throws CertPathValidationException
- Specified by:
validate in interface CertPathValidation
- Throws:
CertPathValidationException
copy
public org.bouncycastle.util.Memoable copy()
- Specified by:
copy in interface org.bouncycastle.util.Memoable
reset
public void reset(org.bouncycastle.util.Memoable other)
- Specified by:
reset in interface org.bouncycastle.util.Memoable