Interface CRLCache
- All Known Implementing Classes:
CRLCacheImpl
,InMemoryCRLCache
public interface CRLCache
CRL Cache interface
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionObtains the current CRL specified by a CRL access URLgetCRL
(org.bouncycastle.asn1.x509.CRLDistPoint crlDistributionPointExt) Obtains the current CRL indicated by a CRL distribution point extension and add this CRL to the active cache.void
recache()
Update the current cache.
-
Field Details
-
LDAP_CONNECT_TIMEOUT
- See Also:
-
LDAP_READ_TIMEOUT
- See Also:
-
LDAP_CONTEXT_FACTORY
- See Also:
-
DEFAULT_CONNECT_TIMEOUT
static final int DEFAULT_CONNECT_TIMEOUT- See Also:
-
DEFAULT_READ_TIMEOUT
static final int DEFAULT_READ_TIMEOUT- See Also:
-
-
Method Details
-
getCRL
Obtains the current CRL indicated by a CRL distribution point extension and add this CRL to the active cache.- Parameters:
crlDistributionPointExt
- CRL Distribution point extension- Returns:
- CRL
- Throws:
IOException
- On error obtaining a CRL based on this extension
-
getCRL
Obtains the current CRL specified by a CRL access URL- Parameters:
url
- CRL access URL- Returns:
CRLInfo
object if a CRL could be obtained- Throws:
IOException
- On error obtaining a CRL based on this URL
-
recache
void recache()Update the current cache. Implementations of this function must be thread safe, allowing use of the CRL cache while it is being updated. -
getCrlCacheRecords
List<CRLCacheRecord> getCrlCacheRecords()
-