Class RevocationRefWrapper

java.lang.Object
eu.europa.esig.dss.diagnostic.RevocationRefWrapper

public class RevocationRefWrapper extends Object
Represents a revocation data wrapper
  • Constructor Details

    • RevocationRefWrapper

      public RevocationRefWrapper(XmlRevocationRef revocationRef, String revocationId)
      Default constructor
      Parameters:
      revocationRef - XmlRevocationRef
      revocationId - String Id of the related revocation token
  • Method Details

    • getOrigins

      public List<RevocationRefOrigin> getOrigins()
      Returns a list of revocation reference origins
      Returns:
      a list of RevocationRefOrigins
    • getProductionTime

      public Date getProductionTime()
      Returns revocation ref production time if present
      Returns:
      Date
    • getResponderIdName

      public String getResponderIdName()
      Returns responder's ID name if present
      Returns:
      String
    • getResponderIdKey

      public byte[] getResponderIdKey()
      Returns responder's ID key if present
      Returns:
      a byte array
    • getDigestAlgoAndValue

      public XmlDigestAlgoAndValue getDigestAlgoAndValue()
      Returns digest algo and value
      Returns:
      XmlDigestAlgoAndValue
    • getRevocationId

      public String getRevocationId()
      Returns an Id of the related revocation token, when present. Returns Id of the reference otherwise.
      Returns:
      String
    • toString

      public String toString()
      Overrides:
      toString in class Object