public interface CertPathChecker
Performs one or more checks on each Certificate
of a
CertPath
.
A CertPathChecker
implementation 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.
Modifier and Type | Method and Description |
---|---|
void |
check(Certificate cert)
Performs the check(s) on the specified certificate using its internal
state.
|
void |
init(boolean forward)
Initializes the internal state of this
CertPathChecker . |
boolean |
isForwardCheckingSupported()
Indicates if forward checking is supported.
|
void init(boolean forward) throws CertPathValidatorException
CertPathChecker
.
The forward
flag specifies the order that certificates will
be passed to the check
method (forward or reverse).
CertPathValidatorException
- if this CertPathChecker
is
unable to check certificates in the specified orderforward
- the order that certificates are presented to the
check
method. If true
, certificates are
presented from target to trust anchor (forward); if
false
, from trust anchor to target (reverse).boolean isForwardCheckingSupported()
CertPathChecker
to perform its checks
when certificates are presented to the check
method in the
forward direction (from target to trust anchor).true
if forward checking is supported, false
otherwisevoid check(Certificate cert) throws CertPathValidatorException
init
method.CertPathValidatorException
- if the specified certificate does
not pass the checkcert
- the Certificate
to be checkedaicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2016 aicas GmbH. All Rights Reserved.