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
ConstructorsModifierConstructorDescriptionprotectedCRLValidator(ValidatorChainBuilder builder) Creates newCRLValidatorinstance. -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(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 newCRLValidatorinstance.- 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 resultscontext- the context in which to perform the validationcertificate- the certificate to check against CRL responsecrl- the crl response to be validatedvalidationDate- validation date to check forresponseGenerationDate- trusted date at which response is generated
-