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

OCSP client which is expected to be used in case OCSP responses shall be linked with generation date. More...

Inheritance diagram for iText.Signatures.Validation.V1.ValidationOcspClient:
iText.Signatures.IOcspClient

Public Member Functions

  ValidationOcspClient ()
  Create new ValidationOcspClient instance. More...
 
virtual void  AddResponse (IBasicOcspResponse response, DateTime date, TimeBasedContext context)
  Add OCSP response which is linked with generation date. More...
 
virtual IDictionary< IBasicOcspResponse, RevocationDataValidator.OcspResponseValidationInfo GetResponses ()
  Get all the OCSP responses linked with generation dates. More...
 
virtual byte[]  GetEncoded (IX509Certificate checkCert, IX509Certificate issuerCert, String url)
  Fetch a DER-encoded BasicOCSPResponse from an OCSP responder.. More...
 

Detailed Description

OCSP client which is expected to be used in case OCSP responses shall be linked with generation date.

Constructor & Destructor Documentation

◆ ValidationOcspClient()

iText.Signatures.Validation.V1.ValidationOcspClient.ValidationOcspClient ( )
inline

Create new ValidationOcspClient instance.

Member Function Documentation

◆ AddResponse()

virtual void iText.Signatures.Validation.V1.ValidationOcspClient.AddResponse ( IBasicOcspResponse  response,
DateTime  date,
TimeBasedContext  context 
)
inlinevirtual

Add OCSP response which is linked with generation date.

Parameters
response

iText.Commons.Bouncycastle.Asn1.Ocsp.IBasicOcspResponse response to be added

Parameters
date

System.DateTime to be linked with the response

Parameters
context

iText.Signatures.Validation.V1.Context.TimeBasedContext time based context which corresponds to generation date

◆ GetEncoded()

virtual byte [] iText.Signatures.Validation.V1.ValidationOcspClient.GetEncoded ( IX509Certificate  checkCert,
IX509Certificate  issuerCert,
String  url 
)
inlinevirtual

Fetch a DER-encoded BasicOCSPResponse from an OCSP responder..

Implements iText.Signatures.IOcspClient.

◆ GetResponses()

virtual IDictionary<IBasicOcspResponse, RevocationDataValidator.OcspResponseValidationInfo> iText.Signatures.Validation.V1.ValidationOcspClient.GetResponses ( )
inlinevirtual

Get all the OCSP responses linked with generation dates.

Returns
all the OCSP responses linked with generation dates