public class CrlClientOnline extends Object implements ICrlClient
Modifier and Type | Field and Description |
---|---|
protected List<URL> |
urls
The URLs of the CRLs.
|
Constructor and Description |
---|
CrlClientOnline()
Creates a CrlClientOnline instance that will try to find a single CRL by walking through the certificate chain.
|
CrlClientOnline(Certificate[] chain)
Creates a CrlClientOnline instance using a certificate chain.
|
CrlClientOnline(String... crls)
Creates a CrlClientOnline instance using one or more URLs.
|
CrlClientOnline(URL... crls)
Creates a CrlClientOnline instance using one or more URLs.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addUrl(String url)
Adds an URL to the list of CRL URLs
|
protected void |
addUrl(URL url)
Adds an URL to the list of CRL URLs
|
Collection |
getEncoded(X509Certificate checkCert, String url)
Fetches the CRL bytes from an URL.
|
public CrlClientOnline()
public CrlClientOnline(String... crls)
public CrlClientOnline(URL... crls)
public CrlClientOnline(Certificate[] chain)
public CollectiongetEncoded(X509Certificate checkCert, String url)
getEncoded
in interface ICrlClient
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.
ICrlClient.getEncoded(java.security.cert.X509Certificate, java.lang.String)
protected void addUrl(String url)
url
- an URL in the form of a String
protected void addUrl(URL url)
url
- an URL object
Copyright © 1998–2018 iText Group NV. All rights reserved.