Interface OnlineRevocationSource<R extends Revocation>

Type Parameters:
R - implementation of Revocation (CRL or OCSP) for the current revocation source
All Superinterfaces:
RevocationSource<R>, Serializable
All Known Implementing Classes:
OnlineCRLSource, OnlineOCSPSource

public interface OnlineRevocationSource<R extends Revocation> extends RevocationSource<R>
Sub-interface for online sources of RevocationTokens
  • Method Details

    • setDataLoader

      void setDataLoader(DataLoader dataLoader)
      Set the DataLoader to use for querying a revocation server.
      Parameters:
      dataLoader - the component that allows to retrieve a revocation response using HTTP.
    • getRevocationTokenAndUrl

      OnlineRevocationSource.RevocationTokenAndUrl<R> getRevocationTokenAndUrl(CertificateToken certificateToken, CertificateToken issuerToken)
      This method retrieves a RevocationTokenAndUrl for the certificateToken
      Parameters:
      certificateToken - The CertificateToken for which the request is made
      issuerToken - The CertificateToken which is the issuer of the certificateToken
      Returns:
      an instance of RevocationTokenAndUrl