iText 7 7.1.11 API
iText.Signatures.IOcspClient Interface Reference

Interface for the Online Certificate Status Protocol (OCSP) Client. More...

Inheritance diagram for iText.Signatures.IOcspClient:
iText.Signatures.OcspClientBouncyCastle

Public Member Functions

byte[]  GetEncoded (X509Certificate checkCert, X509Certificate issuerCert, String url)
  Gets an encoded byte array with OCSP validation. More...
 

Detailed Description

Interface for the Online Certificate Status Protocol (OCSP) Client.

Member Function Documentation

◆ GetEncoded()

byte [] iText.Signatures.IOcspClient.GetEncoded ( X509Certificate  checkCert,
X509Certificate  issuerCert,
String  url 
)

Gets an encoded byte array with OCSP validation.

Gets an encoded byte array with OCSP validation. The method should not throw an exception.

Parameters
checkCert Certificate to check.
issuerCert The parent certificate.
url The url to get the verification. It it's null it will be taken. from the check cert or from other implementation specific source
Returns
A byte array with the validation or null if the validation could not be obtained

Implemented in iText.Signatures.OcspClientBouncyCastle.