Class TimestampPOE
java.lang.Object
eu.europa.esig.dss.validation.process.vpfswatsp.POE
eu.europa.esig.dss.validation.process.vpfswatsp.TimestampPOE
-
Constructor Summary
ConstructorDescriptionTimestampPOE
(TimestampWrapper timestampWrapper) The constructor to instantiate POE by a timestamp -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of objects covered by the POE if applicable NOTE: returns NULL if the POE is defined by a control timeReturns 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 valueReturns timestamp type if the POE defined by a timestamp NOTE: returns NULL if the POE is defined by a control timeboolean
Returns whether the POE is provided by a token (i.e. a time-stamp or an evidence record)
-
Constructor Details
-
TimestampPOE
The constructor to instantiate POE by a timestamp- Parameters:
timestampWrapper
-TimestampWrapper
-
-
Method Details
-
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 classPOE
- Returns:
String
-
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
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 classPOE
- Returns:
- a list of
XmlTimestampedObject
s
-
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 classPOE
- Returns:
- TRUE if the POE is provided by a token, FALSE otherwise
-