Class CRLValidator
- Namespace
- iText.Signatures.Validation.V1
- Assembly
- itext.sign.dll
Class that allows you to validate a certificate against a Certificate Revocation List (CRL) Response.
public class CRLValidator
- Inheritance
-
CRLValidator
- Inherited Members
Constructors
CRLValidator(ValidatorChainBuilder)
Creates new CRLValidator instance.
protected CRLValidator(ValidatorChainBuilder builder)
Parameters
builder
ValidatorChainBuilder
Methods
Validate(ValidationReport, ValidationContext, IX509Certificate, IX509Crl, DateTime)
Validates a certificate against Certificate Revocation List (CRL) Responses.
[Obsolete("starting from 8.0.5. TODO DEVSIX-8398 To be removed.")]
public virtual void Validate(ValidationReport report, ValidationContext context, IX509Certificate certificate, IX509Crl crl, DateTime validationDate)
Parameters
report
ValidationReportto store all the chain verification results
context
ValidationContextthe context in which to perform the validation
certificate
IX509Certificatethe certificate to check against CRL response
crl
IX509Crlthe crl response to be validated
validationDate
DateTimevalidation date to check for
Validate(ValidationReport, ValidationContext, IX509Certificate, IX509Crl, DateTime, DateTime)
Validates a certificate against Certificate Revocation List (CRL) Responses.
public virtual void Validate(ValidationReport report, ValidationContext context, IX509Certificate certificate, IX509Crl crl, DateTime validationDate, DateTime responseGenerationDate)
Parameters
report
ValidationReportto store all the chain verification results
context
ValidationContextthe context in which to perform the validation
certificate
IX509Certificatethe certificate to check against CRL response
crl
IX509Crlthe crl response to be validated
validationDate
DateTimevalidation date to check for
responseGenerationDate
DateTimetrusted date at which response is generated