|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.itextpdf.text.pdf.security.CrlClientOnline
public class CrlClientOnline
An implementation of the CrlClient that fetches the CRL bytes from an URL.
Field Summary | |
---|---|
protected List<URL> |
urls
The URLs of the CRLs. |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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<byte[]> |
getEncoded(X509Certificate checkCert,
String url)
Fetches the CRL bytes from an URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<URL> urls
Constructor Detail |
---|
public CrlClientOnline()
public CrlClientOnline(String... crls)
public CrlClientOnline(URL... crls)
public CrlClientOnline(Certificate[] chain)
Method Detail |
---|
protected void addUrl(String url)
url
- an URL in the form of a Stringprotected void addUrl(URL url)
url
- an URL objectpublic Collection<byte[]> getEncoded(X509Certificate checkCert, String url)
getEncoded
in interface CrlClient
checkCert
- the certificate from which a CRL URL can be obtainedurl
- a CRL url if you don't want to obtain it from the certificate
CrlClient.getEncoded(java.security.cert.X509Certificate, java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |