Java™ Platform
Standard Ed. 8
compact1, compact2, compact3
java.security.cert
Class PKIXCertPathChecker
-
-
Constructor Summary
Constructors
| Modifier |
Constructor |
Description |
protected |
PKIXCertPathChecker() |
Default constructor.
|
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods
| Modifier and Type |
Method |
Description |
void |
check(Certificate cert) |
Performs the check(s) on the specified certificate using its internal
state.
|
abstract void |
check(Certificate cert,
Collection<String> unresolvedCritExts) |
Performs the check(s) on the specified certificate using its internal
state and removes any critical extensions that it processes from the
specified collection of OID strings that represent the unresolved
critical extensions.
|
Object |
clone() |
Returns a clone of this object.
|
abstract Set<String> |
getSupportedExtensions() |
Returns an immutable Set of X.509 certificate extensions
that this PKIXCertPathChecker supports (i.e.
|
abstract void |
init(boolean forward) |
Initializes the internal state of this PKIXCertPathChecker.
|
abstract boolean |
isForwardCheckingSupported() |
Indicates if forward checking is supported.
|
-
-
Method Detail
-
isForwardCheckingSupported
public abstract boolean isForwardCheckingSupported()
Indicates if forward checking is supported. Forward checking refers
to the ability of the PKIXCertPathChecker to perform
its checks when certificates are presented to the check
method in the forward direction (from target to most-trusted CA).
- Specified by:
isForwardCheckingSupported in interface CertPathChecker
- Returns:
true if forward checking is supported,
false otherwise
-
check
public abstract void check(Certificate cert,
Collection<String> unresolvedCritExts)
throws CertPathValidatorException
Performs the check(s) on the specified certificate using its internal
state and removes any critical extensions that it processes from the
specified collection of OID strings that represent the unresolved
critical extensions. The certificates are presented in the order
specified by the init method.
- Parameters:
cert - the Certificate to be checked
unresolvedCritExts - a Collection of OID strings
representing the current set of unresolved critical extensions
- Throws:
CertPathValidatorException - if the specified certificate does
not pass the check
Java™ Platform
Standard Ed. 8
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.