Class CertificateValidator
java.lang.Object
org.keycloak.authentication.authenticators.x509.CertificateValidator
- Version:
 - $Revision: 1 $
 - Author:
 - Peter Nalyvayko
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classConfigure Certificate validationstatic classstatic classstatic classstatic classstatic classstatic class - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCertificateValidator(X509Certificate[] certChain, int keyUsageBits, List<String> extendedKeyUsage, List<String> certificatePolicy, String certificatePolicyMode, boolean cRLCheckingEnabled, boolean cRLAbortIfNonUpdated, 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 cRLAbortIfNonUpdated, 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
 
 -