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 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
-