public class RevocationDataValidator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RevocationDataValidator.CrlValidationInfo
Class which contains validation related information about CRL response.
|
static class |
RevocationDataValidator.OcspResponseValidationInfo
Class which contains validation related information about single OCSP response.
|
| Modifier | Constructor and Description |
|---|---|
protected |
RevocationDataValidator(ValidatorChainBuilder builder)
Creates new
RevocationDataValidator instance to validate certificate revocation data. |
| Modifier and Type | Method and Description |
|---|---|
RevocationDataValidator |
addCrlClient(ICrlClient crlClient)
Add
ICrlClient to be used for CRL responses receiving. |
RevocationDataValidator |
addOcspClient(IOcspClient ocspClient)
Add
IOcspClient to be used for OCSP responses receiving. |
void |
validate(ValidationReport report,
ValidationContext context,
X509Certificate certificate,
Date validationDate)
Validates revocation data (Certificate Revocation List (CRL) Responses and OCSP Responses) of the certificate.
|
protected RevocationDataValidator(ValidatorChainBuilder builder)
RevocationDataValidator instance to validate certificate revocation data.builder - See ValidatorChainBuilderpublic RevocationDataValidator addCrlClient(ICrlClient crlClient)
ICrlClient to be used for CRL responses receiving.
These clients will be used regardless of the
SignatureValidationProperties.OnlineFetching settingscrlClient - ICrlClient to be used for CRL responses receivingRevocationDataValidator.public RevocationDataValidator addOcspClient(IOcspClient ocspClient)
IOcspClient to be used for OCSP responses receiving.
These clients will be used regardless of the
SignatureValidationProperties.OnlineFetching settingsocspClient - IOcspClient to be used for OCSP responses receivingRevocationDataValidator.public void validate(ValidationReport report, ValidationContext context, X509Certificate certificate, Date validationDate)
report - to store all the verification resultscontext - ValidationContext the contextcertificate - the certificate to check revocation data forvalidationDate - validation date to check forCopyright © 1998–2025 Apryse Group NV. All rights reserved.