java.lang.Object
eu.europa.esig.dss.validation.process.vpfswatsp.POE
Direct Known Subclasses:
EvidenceRecordPOE, TimestampPOE

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

    Constructors
    Constructor
    Description
    POE(Date controlTime)
    The constructor to instantiate a global POE by a control/validation time NOTE: the POE will be applied for all tokens
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a list of objects covered by the POE if applicable NOTE: returns NULL if the POE is defined by a control time
    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
    Returns time of the POE
    boolean
    Returns whether the POE is provided by a token (i.e. a time-stamp or an evidence record)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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
    • getPOEProviderId

      public String getPOEProviderId()
      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
      Returns:
      String
    • getPOEObjects

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

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