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) |
| Modifier and Type | Method and Description |
|---|---|
CertificateValidator |
checkRevocationStatus() |
CertificateValidator |
validateExtendedKeyUsage() |
CertificateValidator |
validateKeyUsage() |
CertificateValidator |
validateTimestamps(boolean isValidationEnabled) |
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)
public CertificateValidator validateKeyUsage() throws GeneralSecurityException
GeneralSecurityExceptionpublic CertificateValidator validateExtendedKeyUsage() throws GeneralSecurityException
GeneralSecurityExceptionpublic CertificateValidator validateTimestamps(boolean isValidationEnabled) throws GeneralSecurityException
GeneralSecurityExceptionpublic CertificateValidator checkRevocationStatus() throws GeneralSecurityException
GeneralSecurityExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.