Class CRLValidator
java.lang.Object
com.itextpdf.signatures.validation.v1.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) Deprecated.starting from 8.0.5.void
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
@Deprecated public void validate(ValidationReport report, ValidationContext context, X509Certificate certificate, X509CRL crl, Date validationDate) Deprecated.starting from 8.0.5. TODO DEVSIX-8398 To be removed.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
-
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
-