Class CertificateValidator
java.lang.Object
org.keycloak.authentication.authenticators.x509.CertificateValidator
- Version:
- $Revision: 1 $
- Author:
- Peter Nalyvayko
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Configure Certificate validationstatic class
static class
static class
static class
static class
static class
-
Constructor Summary
ModifierConstructorDescriptionprotected
CertificateValidator
(X509Certificate[] certChain, int keyUsageBits, List<String> extendedKeyUsage, List<String> certificatePolicy, String certificatePolicyMode, boolean cRLCheckingEnabled, boolean cRLDPCheckingEnabled, CertificateValidator.CRLLoaderImpl crlLoader, boolean oCSPCheckingEnabled, boolean ocspFailOpen, CertificateValidator.OCSPChecker ocspChecker, KeycloakSession session, boolean timestampValidationEnabled, boolean trustValidationEnabled) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
CertificateValidator
public CertificateValidator() -
CertificateValidator
protected CertificateValidator(X509Certificate[] certChain, int keyUsageBits, List<String> extendedKeyUsage, List<String> certificatePolicy, String certificatePolicyMode, boolean cRLCheckingEnabled, boolean cRLDPCheckingEnabled, CertificateValidator.CRLLoaderImpl crlLoader, boolean oCSPCheckingEnabled, boolean ocspFailOpen, CertificateValidator.OCSPChecker ocspChecker, KeycloakSession session, boolean timestampValidationEnabled, boolean trustValidationEnabled)
-
-
Method Details
-
validateKeyUsage
- Throws:
GeneralSecurityException
-
validateExtendedKeyUsage
- Throws:
GeneralSecurityException
-
validatePolicy
- Throws:
GeneralSecurityException
-
validateTimestamps
- Throws:
GeneralSecurityException
-
validateTrust
- Throws:
GeneralSecurityException
-
checkRevocationStatus
- Throws:
GeneralSecurityException
-