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

Class that allows you to validate a single OCSP response. More...

Public Member Functions

virtual void  Validate (ValidationReport report, ValidationContext context, IX509Certificate certificate, ISingleResponse singleResp, IBasicOcspResponse ocspResp, DateTime validationDate)
  Validates a certificate against single OCSP Response. More...
 
virtual void  Validate (ValidationReport report, ValidationContext context, IX509Certificate certificate, ISingleResponse singleResp, IBasicOcspResponse ocspResp, DateTime validationDate, DateTime responseGenerationDate)
  Validates a certificate against single OCSP Response. More...
 

Package Functions

  OCSPValidator (ValidatorChainBuilder builder)
  Creates new OCSPValidator instance. More...
 

Detailed Description

Class that allows you to validate a single OCSP response.

Constructor & Destructor Documentation

◆ OCSPValidator()

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

Creates new OCSPValidator instance.

Parameters
builder See ValidatorChainBuilder

Member Function Documentation

◆ Validate() [1/2]

virtual void iText.Signatures.Validation.V1.OCSPValidator.Validate ( ValidationReport  report,
ValidationContext  context,
IX509Certificate  certificate,
ISingleResponse  singleResp,
IBasicOcspResponse  ocspResp,
DateTime  validationDate 
)
inlinevirtual

Validates a certificate against single OCSP Response.

Parameters
report to store all the chain verification results
context the context in which to perform the validation
certificate the certificate to check for
singleResp single response to check
ocspResp basic OCSP response which contains single response to check
validationDate validation date to check for

◆ Validate() [2/2]

virtual void iText.Signatures.Validation.V1.OCSPValidator.Validate ( ValidationReport  report,
ValidationContext  context,
IX509Certificate  certificate,
ISingleResponse  singleResp,
IBasicOcspResponse  ocspResp,
DateTime  validationDate,
DateTime  responseGenerationDate 
)
inlinevirtual

Validates a certificate against single OCSP Response.

Parameters
report to store all the chain verification results
context the context in which to perform the validation
certificate the certificate to check for
singleResp single response to check
ocspResp basic OCSP response which contains single response to check
validationDate validation date to check for
responseGenerationDate trusted date at which response is generated