Interface OCSPSource

All Superinterfaces:
RevocationSource<OCSP>, Serializable
All Known Implementing Classes:
JdbcCacheOCSPSource, OnlineOCSPSource

public interface OCSPSource extends RevocationSource<OCSP>
Typed sub-interface which allows collection of OCSPToken(s). The validation of a certificate may require the use of OCSP information. This information can be provided by multiple sources (the signature itself, online OCSP server, ...). This interface provides an abstraction for a source of OCSPResp
  • Method Details

    • getRevocationToken

      OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)
      Description copied from interface: RevocationSource
      This method retrieves a RevocationToken for the certificateToken
      Specified by:
      getRevocationToken in interface RevocationSource<OCSP>
      Parameters:
      certificateToken - The CertificateToken for which the request is made
      issuerCertificateToken - The CertificateToken which is the issuer of the certificateToken
      Returns:
      an instance of RevocationToken