@Component(value="resourceCrlFetcher") public class ResourceCRLFetcher extends java.lang.Object implements CRLFetcher
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger
Logger instance.
|
| Constructor and Description |
|---|
ResourceCRLFetcher()
Creates a new instance using the specified resources for CRL data.
|
| Modifier and Type | Method and Description |
|---|---|
java.security.cert.X509CRL |
fetch(java.lang.Object crl)
Fetches a single of crl from the specified resource
and returns it.
|
java.util.Set<java.security.cert.X509CRL> |
fetch(java.util.Set<? extends java.lang.Object> crls)
Fetches a collection of crls from the specified resources
and returns a map of CRLs each tracked by its url.
|
protected java.security.cert.X509CRL |
fetchInternal(java.lang.Object r)
Fetch the resource.
|
public ResourceCRLFetcher()
public final java.util.Set<java.security.cert.X509CRL> fetch(java.util.Set<? extends java.lang.Object> crls)
throws java.lang.Exception
CRLFetcherfetch in interface CRLFetchercrls - resources to retrievejava.lang.Exception - the exception thrown if resources cant be fetchedpublic java.security.cert.X509CRL fetch(java.lang.Object crl)
throws java.lang.Exception
CRLFetcherfetch in interface CRLFetchercrl - resources to retrievejava.lang.Exception - the exception thrown if resources cant be fetchedprotected java.security.cert.X509CRL fetchInternal(@NotNull
java.lang.Object r)
throws java.lang.Exception
r - the resource which can be URL, URI, String
or AbstractResourcejava.lang.Exception - the exception