iText 8.0.2 API
All Classes Namespaces Functions Variables Enumerations Enumerator Properties
iText.Signatures.CrlClientOnline Class Reference

An implementation of the CrlClient that fetches the CRL bytes from an URL. More...

Inheritance diagram for iText.Signatures.CrlClientOnline:
iText.Signatures.ICrlClient

Public Member Functions

  CrlClientOnline ()
  Creates a CrlClientOnline instance that will try to find a single CRL by walking through the certificate chain. More...
 
  CrlClientOnline (params String[] crls)
  Creates a CrlClientOnline instance using one or more URLs. More...
 
  CrlClientOnline (params Uri[] crls)
  Creates a CrlClientOnline instance using one or more URLs. More...
 
  CrlClientOnline (IX509Certificate[] chain)
  Creates a CrlClientOnline instance using a certificate chain. More...
 
virtual ICollection< byte[]>  GetEncoded (IX509Certificate checkCert, String url)
  Fetches the CRL bytes from an URL. More...
 
virtual int  GetUrlsSize ()
 

Detailed Description

An implementation of the CrlClient that fetches the CRL bytes from an URL.

Constructor & Destructor Documentation

◆ CrlClientOnline() [1/4]

iText.Signatures.CrlClientOnline.CrlClientOnline ( )
inline

Creates a CrlClientOnline instance that will try to find a single CRL by walking through the certificate chain.

◆ CrlClientOnline() [2/4]

iText.Signatures.CrlClientOnline.CrlClientOnline ( params String[]  crls )
inline

Creates a CrlClientOnline instance using one or more URLs.

Parameters
crls the CRLs as Strings

◆ CrlClientOnline() [3/4]

iText.Signatures.CrlClientOnline.CrlClientOnline ( params Uri[]  crls )
inline

Creates a CrlClientOnline instance using one or more URLs.

Parameters
crls the CRLs as URLs

◆ CrlClientOnline() [4/4]

iText.Signatures.CrlClientOnline.CrlClientOnline ( IX509Certificate[]  chain )
inline

Creates a CrlClientOnline instance using a certificate chain.

Parameters
chain a certificate chain

Member Function Documentation

◆ GetEncoded()

virtual ICollection iText.Signatures.CrlClientOnline.GetEncoded ( IX509Certificate  checkCert,
String  url 
)
inlinevirtual

Fetches the CRL bytes from an URL.

Fetches the CRL bytes from an URL. If no url is passed as parameter, the url will be obtained from the certificate. If you want to load a CRL from a local file, subclass this method and pass an URL with the path to the local file to this method. An other option is to use the CrlClientOffline class.

See also
ICrlClient.GetEncoded(iText.Commons.Bouncycastle.Cert.IX509Certificate, System.String)

Implements iText.Signatures.ICrlClient.