|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itextpdf.text.pdf.security.CrlClientOnline
public class CrlClientOnline
An implementation of the CrlClient that fetches the CRL bytes from an URL.
Field Summary | |
---|---|
protected java.util.List<java.net.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(java.security.cert.Certificate[] chain)
Creates a CrlClientOnline instance using a certificate chain. |
|
CrlClientOnline(java.lang.String... crls)
Creates a CrlClientOnline instance using one or more URLs. |
|
CrlClientOnline(java.net.URL... crls)
Creates a CrlClientOnline instance using one or more URLs. |
Method Summary | |
---|---|
protected void |
addUrl(java.lang.String url)
Adds an URL to the list of CRL URLs |
protected void |
addUrl(java.net.URL url)
Adds an URL to the list of CRL URLs |
java.util.Collection<byte[]> |
getEncoded(java.security.cert.X509Certificate checkCert,
java.lang.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 java.util.List<java.net.URL> urls
Constructor Detail |
---|
public CrlClientOnline()
public CrlClientOnline(java.lang.String... crls)
public CrlClientOnline(java.net.URL... crls)
public CrlClientOnline(java.security.cert.Certificate[] chain)
Method Detail |
---|
protected void addUrl(java.lang.String url)
url
- an URL in the form of a Stringprotected void addUrl(java.net.URL url)
url
- an URL objectpublic java.util.Collection<byte[]> getEncoded(java.security.cert.X509Certificate checkCert, java.lang.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 |