Class OnlineRevocationSource.RevocationTokenAndUrl<R extends Revocation>

java.lang.Object
eu.europa.esig.dss.spi.x509.revocation.OnlineRevocationSource.RevocationTokenAndUrl<R>
Type Parameters:
R - implementation of Revocation (CRL or OCSP) for the current revocation source
Enclosing interface:
OnlineRevocationSource<R extends Revocation>

public static class OnlineRevocationSource.RevocationTokenAndUrl<R extends Revocation> extends Object
This class represents an online revocation source reply, containing the extracted RevocationToken and the URL String used to download the token from
  • Constructor Details

    • RevocationTokenAndUrl

      public RevocationTokenAndUrl(String urlString, RevocationToken<R> revocationToken)
      Default constructor
      Parameters:
      urlString - String URL used to download the revocation token
      revocationToken - RevocationToken downloaded from the URL
  • Method Details

    • getUrlString

      public String getUrlString()
      Gets the URL used to download the data
      Returns:
      String
    • getRevocationToken

      public RevocationToken<R> getRevocationToken()
      Gets the downloaded RevocationToken
      Returns:
      RevocationToken