Interface ITimeStampTokenInfo
-
- All Known Implementing Classes:
TimeStampTokenInfoBC
public interface ITimeStampTokenInfoThis interface represents the wrapper for TimeStampTokenInfo that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getEncoded()Calls actualgetEncodedmethod for the wrapped TimeStampTokenInfo object.java.util.DategetGenTime()Calls actualgetGenTimemethod for the wrapped TimeStampTokenInfo object.IAlgorithmIdentifiergetHashAlgorithm()Calls actualgetHashAlgorithmmethod for the wrapped TimeStampTokenInfo object.ITSTInfotoASN1Structure()Calls actualtoASN1Structuremethod for the wrapped TimeStampTokenInfo object.
-
-
-
Method Detail
-
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
java.util.Date getGenTime()
Calls actualgetGenTimemethod for the wrapped TimeStampTokenInfo object.- Returns:
Datethe received genTime.
-
getEncoded
byte[] getEncoded() throws java.io.IOExceptionCalls actualgetEncodedmethod for the wrapped TimeStampTokenInfo object.- Returns:
- the default encoding for the wrapped object.
- Throws:
java.io.IOException- on encoding error.
-
-