Class OfflineOCSPSource

java.lang.Object
eu.europa.esig.dss.spi.x509.revocation.OfflineRevocationSource<OCSP>
eu.europa.esig.dss.spi.x509.revocation.ocsp.OfflineOCSPSource
All Implemented Interfaces:
MultipleRevocationSource<OCSP>, RevocationSource<OCSP>, Serializable
Direct Known Subclasses:
CMSOCSPSource, ExternalResourcesOCSPSource, JAdESOCSPSource, PAdESOCSPSource, PdfCmsOCSPSource, PdfCompositeDssDictOCSPSource, PdfDssDictOCSPSource, XAdESOCSPSource

public abstract class OfflineOCSPSource extends OfflineRevocationSource<OCSP>
Abstract class that helps to implement an OCSPSource with an already loaded list of BasicOCSPResp
See Also:
  • Constructor Details

    • OfflineOCSPSource

      protected OfflineOCSPSource()
      Default constructor
  • Method Details

    • getRevocationTokens

      public List<RevocationToken<OCSP>> getRevocationTokens(CertificateToken certificate, CertificateToken issuer)
      Description copied from interface: MultipleRevocationSource
      This method retrieves a list of RevocationToken for the certificateToken
      Parameters:
      certificate - The CertificateToken for which the request is made
      issuer - The CertificateToken which is the issuer of the certificateToken
      Returns:
      a list of RevocationToken