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 actualgetEncoded
method for the wrapped TimeStampTokenInfo object.Calls actualgetGenTime
method for the wrapped TimeStampTokenInfo object.Calls actualgetHashAlgorithm
method for the wrapped TimeStampTokenInfo object.Calls actualtoASN1Structure
method for the wrapped TimeStampTokenInfo object.
-
Method Details
-
getHashAlgorithm
IAlgorithmIdentifier getHashAlgorithm()Calls actualgetHashAlgorithm
method for the wrapped TimeStampTokenInfo object.- Returns:
-
IAlgorithmIdentifier
the wrapper for the received AlgorithmIdentifier object.
-
toASN1Structure
ITSTInfo toASN1Structure()Calls actualtoASN1Structure
method for the wrapped TimeStampTokenInfo object.- Returns:
-
ITSTInfo
TSTInfo wrapper.
-
getGenTime
Date getGenTime()Calls actualgetGenTime
method for the wrapped TimeStampTokenInfo object.- Returns:
-
Date
the received genTime.
-
getEncoded
Calls actualgetEncoded
method for the wrapped TimeStampTokenInfo object.- Returns:
- the default encoding for the wrapped object.
- Throws:
-
IOException
- on encoding error.
-