Modifier and Type | Field | Description |
---|---|---|
protected java.util.List<java.net.URL> |
urls |
The URLs of the CRLs.
|
Constructor | Description |
---|---|
CrlClientOnline() |
Creates a CrlClientOnline instance that will try to find
a single CRL by walking through the 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.
|
CrlClientOnline(java.security.cert.Certificate[] chain) |
Creates a CrlClientOnline instance using a certificate chain.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
public CrlClientOnline()
public CrlClientOnline(java.lang.String... crls)
public CrlClientOnline(java.net.URL... crls)
public CrlClientOnline(java.security.cert.Certificate[] chain)
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 certificateCrlClient.getEncoded(java.security.cert.X509Certificate, java.lang.String)
Copyright © 1998–2018. All rights reserved.