Interface ITimeStampTokenInfo
- All Known Implementing Classes:
-
TimeStampTokenInfoBC,TimeStampTokenInfoBCFips
public interface ITimeStampTokenInfo
This interface represents the wrapper for TimeStampTokenInfo that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]Calls actualgetEncodedmethod for the wrapped TimeStampTokenInfo object.Calls actualgetGenTimemethod for the wrapped TimeStampTokenInfo object.Calls actualgetHashAlgorithmmethod for the wrapped TimeStampTokenInfo object.Calls actualtoASN1Structuremethod for the wrapped TimeStampTokenInfo object.
-
Method Details
-
getHashAlgorithm
IAlgorithmIdentifier getHashAlgorithm()Calls actualgetHashAlgorithmmethod for the wrapped TimeStampTokenInfo object.- Returns:
-
IAlgorithmIdentifierthe wrapper for the received AlgorithmIdentifier object.
-
toASN1Structure
ITSTInfo toASN1Structure()Calls actualtoASN1Structuremethod for the wrapped TimeStampTokenInfo object.- Returns:
-
ITSTInfoTSTInfo wrapper.
-
getGenTime
Date getGenTime()Calls actualgetGenTimemethod for the wrapped TimeStampTokenInfo object.- Returns:
-
Datethe received genTime.
-
getEncoded
Calls actualgetEncodedmethod for the wrapped TimeStampTokenInfo object.- Returns:
- the default encoding for the wrapped object.
- Throws:
-
IOException- on encoding error.
-