public class CertificateValidator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CertificateValidator.BouncyCastleOCSPChecker |
static class |
CertificateValidator.CertificateValidatorBuilder
Configure Certificate validation
|
static class |
CertificateValidator.CRLFileLoader |
static class |
CertificateValidator.CRLListLoader |
static class |
CertificateValidator.CRLLoaderImpl |
static class |
CertificateValidator.CRLLoaderProxy |
static class |
CertificateValidator.LdapContext |
static class |
CertificateValidator.OCSPChecker |
| Modifier | Constructor and Description |
|---|---|
|
CertificateValidator() |
protected |
CertificateValidator(X509Certificate[] certChain,
int keyUsageBits,
List<String> extendedKeyUsage,
boolean cRLCheckingEnabled,
boolean cRLDPCheckingEnabled,
CertificateValidator.CRLLoaderImpl crlLoader,
boolean oCSPCheckingEnabled,
CertificateValidator.OCSPChecker ocspChecker,
KeycloakSession session,
boolean timestampValidationEnabled) |
| Modifier and Type | Method and Description |
|---|---|
CertificateValidator |
checkRevocationStatus() |
CertificateValidator |
validateExtendedKeyUsage() |
CertificateValidator |
validateKeyUsage() |
CertificateValidator |
validateTimestamps() |
public CertificateValidator()
protected CertificateValidator(X509Certificate[] certChain, int keyUsageBits, List<String> extendedKeyUsage, boolean cRLCheckingEnabled, boolean cRLDPCheckingEnabled, CertificateValidator.CRLLoaderImpl crlLoader, boolean oCSPCheckingEnabled, CertificateValidator.OCSPChecker ocspChecker, KeycloakSession session, boolean timestampValidationEnabled)
public CertificateValidator validateKeyUsage() throws GeneralSecurityException
GeneralSecurityExceptionpublic CertificateValidator validateExtendedKeyUsage() throws GeneralSecurityException
GeneralSecurityExceptionpublic CertificateValidator validateTimestamps() throws GeneralSecurityException
GeneralSecurityExceptionpublic CertificateValidator checkRevocationStatus() throws GeneralSecurityException
GeneralSecurityExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.