Class POE
java.lang.Object
eu.europa.esig.dss.validation.process.vpfswatsp.POE
Contains Proof Of Existence for validation objects
-
Constructor Summary
ConstructorDescriptionPOE
(TimestampWrapper timestampWrapper) The constructor to instantiate POE by a timestampThe constructor to instantiate a global POE by a control/validation time NOTE: the POE will be applied for all tokens -
Method Summary
Modifier and TypeMethodDescriptiongetTime()
Returns time of the POEReturns a list of timestamped objects if the POE defined by a timestamp NOTE: returns NULL if the POE is defined by a control timeReturns id of the timestamp if defined NOTE: returns NULL if the POE is defined by a control timeReturns timestamp type if the POE defined by a timestamp NOTE: returns NULL if the POE is defined by a control timeboolean
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
-