Class CRLValidator
java.lang.Object
com.itextpdf.signatures.validation.CRLValidator
Class that allows you to validate a certificate against a Certificate Revocation List (CRL) Response.
-
Constructor Summary
ModifierConstructorDescriptionprotected
CRLValidator
(ValidatorChainBuilder builder) Creates newCRLValidator
instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(ValidationReport report, ValidationContext context, X509Certificate certificate, X509CRL crl, Date validationDate, Date responseGenerationDate) Validates a certificate against Certificate Revocation List (CRL) Responses.
-
Constructor Details
-
CRLValidator
Creates newCRLValidator
instance.- Parameters:
-
builder
- SeeValidatorChainBuilder
-
-
Method Details
-
validate
public void validate(ValidationReport report, ValidationContext context, X509Certificate certificate, X509CRL crl, Date validationDate, Date responseGenerationDate) Validates a certificate against Certificate Revocation List (CRL) Responses.- Parameters:
-
report
- to store all the chain verification results -
context
- the context in which to perform the validation -
certificate
- the certificate to check against CRL response -
crl
- the crl response to be validated -
validationDate
- validation date to check for -
responseGenerationDate
- trusted date at which response is generated
-