- 
- All Known Implementing Classes:
- PKIXCertPathChecker,- PKIXRevocationChecker
 
 public interface CertPathCheckerPerforms one or more checks on each Certificateof aCertPath.A CertPathCheckerimplementation is typically created to extend a certification path validation algorithm. For example, an implementation may check for and process a critical private extension of each certificate in a certification path.- Since:
- 1.8
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheck(Certificate cert)Performs the check(s) on the specified certificate using its internal state.voidinit(boolean forward)Initializes the internal state of thisCertPathChecker.booleanisForwardCheckingSupported()Indicates if forward checking is supported.
 
- 
- 
- 
Method Detail- 
initvoid init(boolean forward) throws CertPathValidatorException Initializes the internal state of thisCertPathChecker.The forwardflag specifies the order that certificates will be passed to thecheckmethod (forward or reverse).- Parameters:
- forward- the order that certificates are presented to the- checkmethod. If- true, certificates are presented from target to trust anchor (forward); if- false, from trust anchor to target (reverse).
- Throws:
- CertPathValidatorException- if this- CertPathCheckeris unable to check certificates in the specified order
 
 - 
isForwardCheckingSupportedboolean isForwardCheckingSupported() Indicates if forward checking is supported. Forward checking refers to the ability of theCertPathCheckerto perform its checks when certificates are presented to thecheckmethod in the forward direction (from target to trust anchor).- Returns:
- trueif forward checking is supported,- falseotherwise
 
 - 
checkvoid check(Certificate cert) throws CertPathValidatorException Performs the check(s) on the specified certificate using its internal state. The certificates are presented in the order specified by theinitmethod.- Parameters:
- cert- the- Certificateto be checked
- Throws:
- CertPathValidatorException- if the specified certificate does not pass the check
 
 
- 
 
-