iText 9.0.0 API
|
An implementation of the CrlClient that fetches the CRL bytes from an URL. More...
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 () |
Get an amount of URLs provided for this CRL. More... |
|
Package Functions |
|
virtual Stream | GetCrlResponse (IX509Certificate cert, Uri urlt) |
Get CRL response represented as System.IO.Stream. More... |
|
virtual void | AddUrl (String url) |
Adds an URL to the list of CRL URLs More... |
|
virtual void | AddUrl (Uri url) |
Adds an URL to the list of CRL URLs More... |
|
Package Attributes |
|
IList< Uri > | urls = new List |
The URLs of the CRLs. More... |
|
An implementation of the CrlClient that fetches the CRL bytes from an URL.
|
inline |
Creates a CrlClientOnline instance that will try to find a single CRL by walking through the certificate chain.
|
inline |
Creates a CrlClientOnline instance using one or more URLs.
crls | the CRLs as Strings |
|
inline |
Creates a CrlClientOnline instance using one or more URLs.
crls | the CRLs as URLs |
|
inline |
Creates a CrlClientOnline instance using a certificate chain.
chain | a certificate chain |
|
inlinepackagevirtual |
Adds an URL to the list of CRL URLs
url | an URL in the form of a String |
|
inlinepackagevirtual |
Adds an URL to the list of CRL URLs
url | an URL object |
|
inlinepackagevirtual |
Get CRL response represented as System.IO.Stream.
cert |
iText.Commons.Bouncycastle.Cert.IX509Certificate certificate to get CRL response for
urlt |
System.Uri link, which is expected to be used to get CRL response from
|
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.
Implements iText.Signatures.ICrlClient.
|
inlinevirtual |
Get an amount of URLs provided for this CRL.
int
number of URLs
|
package |
The URLs of the CRLs.