Class TimestampPOE

java.lang.Object
eu.europa.esig.dss.validation.process.vpfswatsp.POE
eu.europa.esig.dss.validation.process.vpfswatsp.TimestampPOE

public class TimestampPOE extends POE
POE provided by a time-stamp token
  • Constructor Details

    • TimestampPOE

      public TimestampPOE(TimestampWrapper timestampWrapper)
      The constructor to instantiate POE by a timestamp
      Parameters:
      timestampWrapper - TimestampWrapper
  • Method Details

    • getPOEProviderId

      public String getPOEProviderId()
      Description copied from class: POE
      Returns an Id of a token providing the POE (e.g. a time-stamp Id) NOTE: if the POE is not provided by a token (e.g. validation time POE), returns NULL value
      Overrides:
      getPOEProviderId in class POE
      Returns:
      String
    • getTimestampType

      public TimestampType getTimestampType()
      Returns timestamp type if the POE defined by a timestamp NOTE: returns NULL if the POE is defined by a control time
      Returns:
      TimestampType
    • getPOEObjects

      public List<XmlTimestampedObject> getPOEObjects()
      Description copied from class: POE
      Returns a list of objects covered by the POE if applicable NOTE: returns NULL if the POE is defined by a control time
      Overrides:
      getPOEObjects in class POE
      Returns:
      a list of XmlTimestampedObjects
    • isTokenProvided

      public boolean isTokenProvided()
      Description copied from class: POE
      Returns whether the POE is provided by a token (i.e. a time-stamp or an evidence record)
      Overrides:
      isTokenProvided in class POE
      Returns:
      TRUE if the POE is provided by a token, FALSE otherwise