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 int
i
private int
maxPathLength
-
Constructor Summary
Constructors Constructor Description MaxPathLengthChecker(int maxPathLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check(Certificate cert, Collection unresolvedCritExts)
private void
checkCertPathLength(X509Certificate currCert)
Set<String>
getSupportedExtensions()
void
init(boolean forward)
boolean
isForwardCheckingSupported()
-
Methods inherited from class java.security.cert.PKIXCertPathChecker
check, clone
-
-
-
-
Method Detail
-
init
public void init(boolean forward)
- Specified by:
init
in interfaceCertPathChecker
- Specified by:
init
in classPKIXCertPathChecker
-
isForwardCheckingSupported
public boolean isForwardCheckingSupported()
- Specified by:
isForwardCheckingSupported
in interfaceCertPathChecker
- Specified by:
isForwardCheckingSupported
in classPKIXCertPathChecker
-
getSupportedExtensions
public Set<String> getSupportedExtensions()
- Specified by:
getSupportedExtensions
in classPKIXCertPathChecker
-
check
public void check(Certificate cert, Collection unresolvedCritExts) throws CertPathValidatorException
- Specified by:
check
in classPKIXCertPathChecker
- Throws:
CertPathValidatorException
-
checkCertPathLength
private void checkCertPathLength(X509Certificate currCert) throws CertPathValidatorException
- Throws:
CertPathValidatorException
-
-