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

public class POE extends Object
Contains Proof Of Existence for validation objects
  • Constructor Details

    • POE

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

      public POE(Date controlTime)
      The constructor to instantiate a global POE by a control/validation time NOTE: the POE will be applied for all tokens
      Parameters:
      controlTime - Date
  • Method Details

    • getTime

      public Date getTime()
      Returns time of the POE
      Returns:
      Date
    • isTimestampPoe

      public boolean isTimestampPoe()
      Checks if the POE if a POE defined by a timestamp
      Returns:
      true of the POE defined by a timesatmp, false otherwise
    • getTimestampId

      public String getTimestampId()
      Returns id of the timestamp if defined NOTE: returns NULL if the POE is defined by a control time
      Returns:
      String timestamp id
    • 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
    • getTimestampedObjects

      public List<XmlTimestampedObject> getTimestampedObjects()
      Returns a list of timestamped objects if the POE defined by a timestamp NOTE: returns NULL if the POE is defined by a control time
      Returns:
      a list of XmlTimestampedObjects