Package org.wildfly.security.ssl
Class X509RevocationTrustManager.MaxPathLengthChecker
- java.lang.Object
-
- java.security.cert.PKIXCertPathChecker
-
- org.wildfly.security.ssl.X509RevocationTrustManager.MaxPathLengthChecker
-
- All Implemented Interfaces:
Cloneable,CertPathChecker
- Enclosing class:
- X509RevocationTrustManager
private class X509RevocationTrustManager.MaxPathLengthChecker extends PKIXCertPathChecker
PKIXCertPathChecker to check if a cert path being validated is longer than maxPathLength specified
-
-
Field Summary
Fields Modifier and Type Field Description private intiprivate intmaxPathLength
-
Constructor Summary
Constructors Constructor Description MaxPathLengthChecker(int maxPathLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheck(Certificate cert, Collection unresolvedCritExts)private voidcheckCertPathLength(X509Certificate currCert)Set<String>getSupportedExtensions()voidinit(boolean forward)booleanisForwardCheckingSupported()-
Methods inherited from class java.security.cert.PKIXCertPathChecker
check, clone
-
-
-
-
Method Detail
-
init
public void init(boolean forward)
- Specified by:
initin interfaceCertPathChecker- Specified by:
initin classPKIXCertPathChecker
-
isForwardCheckingSupported
public boolean isForwardCheckingSupported()
- Specified by:
isForwardCheckingSupportedin interfaceCertPathChecker- Specified by:
isForwardCheckingSupportedin classPKIXCertPathChecker
-
getSupportedExtensions
public Set<String> getSupportedExtensions()
- Specified by:
getSupportedExtensionsin classPKIXCertPathChecker
-
check
public void check(Certificate cert, Collection unresolvedCritExts) throws CertPathValidatorException
- Specified by:
checkin classPKIXCertPathChecker- Throws:
CertPathValidatorException
-
checkCertPathLength
private void checkCertPathLength(X509Certificate currCert) throws CertPathValidatorException
- Throws:
CertPathValidatorException
-
-