Class POE
java.lang.Object
eu.europa.esig.dss.validation.process.vpfswatsp.POE
public class POE extends Object
Contains Proof Of Existence for validation objects
-
Constructor Summary
Constructors Constructor Description POE(TimestampWrapper timestampWrapper)
The constructor to instantiate POE by a timestampPOE(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 Date
getTime()
Returns time of the POEList<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 timeString
getTimestampId()
Returns id of the timestamp if defined NOTE: returns NULL if the POE is defined by a control timeTimestampType
getTimestampType()
Returns timestamp type if the POE defined by a timestamp NOTE: returns NULL if the POE is defined by a control timeboolean
isTimestampPoe()
Checks if the POE if a POE defined by a timestamp
-
Constructor Details
-
POE
The constructor to instantiate POE by a timestamp- Parameters:
timestampWrapper
-TimestampWrapper
-
POE
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
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
Returns id of the timestamp if defined NOTE: returns NULL if the POE is defined by a control time- Returns:
String
timestamp id
-
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
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
XmlTimestampedObject
s
-