Interface ITimeStampTokenInfo
-
- All Known Implementing Classes:
TimeStampTokenInfoBC
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getEncoded()
Calls actualgetEncoded
method for the wrapped TimeStampTokenInfo object.java.util.Date
getGenTime()
Calls actualgetGenTime
method for the wrapped TimeStampTokenInfo object.IAlgorithmIdentifier
getHashAlgorithm()
Calls actualgetHashAlgorithm
method for the wrapped TimeStampTokenInfo object.ITSTInfo
toASN1Structure()
Calls actualtoASN1Structure
method for the wrapped TimeStampTokenInfo object.
-
-
-
Method Detail
-
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
java.util.Date getGenTime()
Calls actualgetGenTime
method for the wrapped TimeStampTokenInfo object.- Returns:
Date
the received genTime.
-
getEncoded
byte[] getEncoded() throws java.io.IOException
Calls actualgetEncoded
method for the wrapped TimeStampTokenInfo object.- Returns:
- the default encoding for the wrapped object.
- Throws:
java.io.IOException
- on encoding error.
-
-