iText 8.0.5 API
iText.Signatures.ICrlClient Interface Reference

Interface that needs to be implemented if you want to embed Certificate Revocation Lists (CRL) into your PDF. More...

Inheritance diagram for iText.Signatures.ICrlClient:
iText.Signatures.CrlClientOffline iText.Signatures.CrlClientOnline iText.Signatures.Validation.V1.ValidationCrlClient

Public Member Functions

ICollection< byte[]>  GetEncoded (IX509Certificate checkCert, String url)
  Gets an encoded byte array. More...
 

Detailed Description

Interface that needs to be implemented if you want to embed Certificate Revocation Lists (CRL) into your PDF.

Member Function Documentation

◆ GetEncoded()

ICollection iText.Signatures.ICrlClient.GetEncoded ( IX509Certificate  checkCert,
String  url 
)

Gets an encoded byte array.

Parameters
checkCert The certificate which a CRL URL can be obtained from.
url A CRL url if you don't want to obtain it from the certificate.
Returns
A collection of byte array each representing a crl. It may return null or an empty collection.

Implemented in iText.Signatures.CrlClientOnline, iText.Signatures.Validation.V1.ValidationCrlClient, and iText.Signatures.CrlClientOffline.