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
GeneralSecurityException
public CertificateValidator validateExtendedKeyUsage() throws GeneralSecurityException
GeneralSecurityException
public CertificateValidator validateTimestamps(boolean isValidationEnabled) throws GeneralSecurityException
GeneralSecurityException
public CertificateValidator checkRevocationStatus() throws GeneralSecurityException
GeneralSecurityException
Copyright © 2020 JBoss by Red Hat. All rights reserved.