Class TimestampTokenConverter
java.lang.Object
eu.europa.esig.dss.ws.signature.common.TimestampTokenConverter
Contains utils to convert
TimestampDTO
to TimestampToken
and vice versa-
Method Summary
Modifier and TypeMethodDescriptionstatic TimestampDTO
toTimestampDTO
(TimestampToken timestampToken) ConvertsTimestampToken
s toTimestampDTO
sstatic TimestampToken
toTimestampToken
(TimestampDTO timestampDTO) ConvertsTimestampDTO
s toTimestampToken
sstatic List<TimestampToken>
toTimestampTokens
(List<TimestampDTO> timestampDTOs) Converts a list ofTimestampDTO
s to a list ofTimestampToken
s
-
Method Details
-
toTimestampTokens
Converts a list ofTimestampDTO
s to a list ofTimestampToken
s- Parameters:
timestampDTOs
- list ofTimestampDTO
s- Returns:
- a list of
TimestampToken
s
-
toTimestampToken
ConvertsTimestampDTO
s toTimestampToken
s- Parameters:
timestampDTO
-TimestampDTO
- Returns:
TimestampToken
- Throws:
DSSException
-
toTimestampDTO
ConvertsTimestampToken
s toTimestampDTO
s- Parameters:
timestampToken
-TimestampToken
- Returns:
TimestampDTO
-