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.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) |
| Modifier and Type | Method and Description |
|---|---|
CertificateValidator |
checkRevocationStatus() |
CertificateValidator |
validateExtendedKeyUsage() |
CertificateValidator |
validateKeyUsage() |
public CertificateValidator()
protected CertificateValidator(X509Certificate[] certChain, int keyUsageBits, List<String> extendedKeyUsage, boolean cRLCheckingEnabled, boolean cRLDPCheckingEnabled, CertificateValidator.CRLLoaderImpl crlLoader, boolean oCSPCheckingEnabled, CertificateValidator.OCSPChecker ocspChecker)
public CertificateValidator validateKeyUsage() throws GeneralSecurityException
GeneralSecurityExceptionpublic CertificateValidator validateExtendedKeyUsage() throws GeneralSecurityException
GeneralSecurityExceptionpublic CertificateValidator checkRevocationStatus() throws GeneralSecurityException
GeneralSecurityExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.