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 Details

  • Method Details

    • getCRL

      CRLInfo getCRL(org.bouncycastle.asn1.x509.CRLDistPoint crlDistributionPointExt) throws IOException
      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

      CRLInfo getCRL(String url) throws IOException
      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()