Top Inners Fields Constructors Methods
org.bouncycastle.pkix.jcajce

pack-priv Class CrlCache

extends Object
Class Inheritance
Imports
java.io.ByteArrayInputStream, .IOException, .InputStream, java.lang.ref.WeakReference, java.net.HttpURLConnection, .URI, java.security.cert.CRL, .CRLException, .CertificateFactory, .X509CRL, java.util.ArrayList, .Collection, .Collections, .Date, .Hashtable, .Iterator, .List, .Map, .WeakHashMap, javax.naming.Context, .NamingException, javax.naming.directory.Attribute, .Attributes, .DirContext, .InitialDirContext, org.bouncycastle.jcajce.PKIXCRLStore, org.bouncycastle.util.CollectionStore, .Iterable, .Selector, .Store

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private static Map<URI, WeakReference<PKIXCRLStore<T extends CRL>>>
private static final int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static synchronized PKIXCRLStore<T extends CRL>
getCrl(CertificateFactory certFact, Date validDate, URI distributionPoint)

private static Collection<E>
getCrls(CertificateFactory certFact, URI distributionPoint)

private static Collection<E>
getCrlsFromLDAP(CertificateFactory certFact, URI distributionPoint)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cacheback to summary
private static Map<URI, WeakReference<PKIXCRLStore<T extends CRL>>> cache
DEFAULT_TIMEOUTback to summary
private static final int DEFAULT_TIMEOUT

Constructor Detail

CrlCacheback to summary
pack-priv CrlCache()

Method Detail

getCrlback to summary
pack-priv static synchronized PKIXCRLStore<T extends CRL> getCrl(CertificateFactory certFact, Date validDate, URI distributionPoint) throws IOException, CRLException
getCrlsback to summary
private static Collection<E> getCrls(CertificateFactory certFact, URI distributionPoint) throws IOException, CRLException
getCrlsFromLDAPback to summary
private static Collection<E> getCrlsFromLDAP(CertificateFactory certFact, URI distributionPoint) throws IOException, CRLException
org.bouncycastle.pkix.jcajce back to summary

private Class CrlCache.LocalCRLStore<T extends CRL>

extends Object
implements PKIXCRLStore, Iterable<CRL>
Class Inheritance
All Implemented Interfaces
org.bouncycastle.util.Iterable, java.lang.Iterable, org.bouncycastle.jcajce.PKIXCRLStore, org.bouncycastle.util.Store

Field Summary

Modifier and TypeField and Description
private Collection<CRL>

Constructor Summary

AccessConstructor and Description
public
LocalCRLStore(Store<CRL>
- initial contents for the store, this is copied.
collection
)

Basic constructor.

Method Summary

Modifier and TypeMethod and Description
public Collection<E>

Returns:

a possibly empty collection of matching objects.
getMatches
(Selector<T>
the selector to match against.
selector
)

Implements org.bouncycastle.jcajce.PKIXCRLStore.getMatches.

Return the matches in the collection for the passed in selector.
public Iterator<CRL>
iterator()

Implements org.bouncycastle.util.Iterable.iterator.

Returns an iterator over a set of elements of type T.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_localback to summary
private Collection<CRL> _local

Constructor Detail

LocalCRLStoreback to summary
public LocalCRLStore(Store<CRL> collection)

Basic constructor.

Parameters
collection:Store<CRL>

- initial contents for the store, this is copied.

Method Detail

getMatchesback to summary
public Collection<E> getMatches(Selector<T> selector)

Implements org.bouncycastle.jcajce.PKIXCRLStore.getMatches.

Return the matches in the collection for the passed in selector.

Parameters
selector:Selector<T>

the selector to match against.

Returns:Collection<E>

a possibly empty collection of matching objects.

iteratorback to summary
public Iterator<CRL> iterator()

Implements org.bouncycastle.util.Iterable.iterator.

Doc from org.bouncycastle.util.Iterable.iterator.

Returns an iterator over a set of elements of type T.

Returns:Iterator<CRL>

an Iterator.