iText 9.0.0 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.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.ValidationCrlClient, and iText.Signatures.CrlClientOffline.