iText 8.0.5 API
iText.Signatures.Validation.V1.RevocationDataValidator Class Reference

Class that allows you to fetch and validate revocation data for the certificate. More...

Classes

class   CrlValidationInfo
  Class which contains validation related information about CRL response. More...
 
class   OcspResponseValidationInfo
  Class which contains validation related information about single OCSP response. More...
 

Public Member Functions

virtual iText.Signatures.Validation.V1.RevocationDataValidator  AddCrlClient (ICrlClient crlClient)
  Add iText.Signatures.ICrlClient to be used for CRL responses receiving. More...
 
virtual iText.Signatures.Validation.V1.RevocationDataValidator  AddOcspClient (IOcspClient ocspClient)
  Add iText.Signatures.IOcspClient to be used for OCSP responses receiving. More...
 
virtual void  Validate (ValidationReport report, ValidationContext context, IX509Certificate certificate, DateTime validationDate)
  Validates revocation data (Certificate Revocation List (CRL) Responses and OCSP Responses) of the certificate. More...
 

Package Functions

  RevocationDataValidator (ValidatorChainBuilder builder)
  Creates new RevocationDataValidator instance to validate certificate revocation data. More...
 

Detailed Description

Class that allows you to fetch and validate revocation data for the certificate.

Constructor & Destructor Documentation

◆ RevocationDataValidator()

iText.Signatures.Validation.V1.RevocationDataValidator.RevocationDataValidator ( ValidatorChainBuilder  builder )
inlinepackage

Creates new RevocationDataValidator instance to validate certificate revocation data.

Parameters
builder See ValidatorChainBuilder

Member Function Documentation

◆ AddCrlClient()

virtual iText.Signatures.Validation.V1.RevocationDataValidator iText.Signatures.Validation.V1.RevocationDataValidator.AddCrlClient ( ICrlClient  crlClient )
inlinevirtual

Add iText.Signatures.ICrlClient to be used for CRL responses receiving.

Parameters
crlClient

iText.Signatures.ICrlClient to be used for CRL responses receiving

Returns
same instance of RevocationDataValidator.

◆ AddOcspClient()

virtual iText.Signatures.Validation.V1.RevocationDataValidator iText.Signatures.Validation.V1.RevocationDataValidator.AddOcspClient ( IOcspClient  ocspClient )
inlinevirtual

Add iText.Signatures.IOcspClient to be used for OCSP responses receiving.

Parameters
ocspClient

iText.Signatures.IOcspClient to be used for OCSP responses receiving

Returns
same instance of RevocationDataValidator.

◆ Validate()

virtual void iText.Signatures.Validation.V1.RevocationDataValidator.Validate ( ValidationReport  report,
ValidationContext  context,
IX509Certificate  certificate,
DateTime  validationDate 
)
inlinevirtual

Validates revocation data (Certificate Revocation List (CRL) Responses and OCSP Responses) of the certificate.

Parameters
report to store all the verification results
context

iText.Signatures.Validation.V1.Context.ValidationContext the context

Parameters
certificate the certificate to check revocation data for
validationDate validation date to check for