Interface ITimeStampToken
-
- All Known Implementing Classes:
TimeStampTokenBC
public interface ITimeStampTokenThis interface represents the wrapper for TimeStampToken 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 TimeStampToken object.ITimeStampTokenInfogetTimeStampInfo()Calls actualgetTimeStampInfomethod for the wrapped TimeStampToken object.voidvalidate(ISignerInformationVerifier verifier)Calls actualvalidatemethod for the wrapped TimeStampToken object.
-
-
-
Method Detail
-
getTimeStampInfo
ITimeStampTokenInfo getTimeStampInfo()
Calls actualgetTimeStampInfomethod for the wrapped TimeStampToken object.- Returns:
ITimeStampTokenInfothe wrapper for the received TimeStampInfo object.
-
validate
void validate(ISignerInformationVerifier verifier) throws AbstractTSPException
Calls actualvalidatemethod for the wrapped TimeStampToken object.- Parameters:
verifier- SignerInformationVerifier wrapper- Throws:
AbstractTSPException- TSPException wrapper.
-
getEncoded
byte[] getEncoded() throws java.io.IOExceptionCalls actualgetEncodedmethod for the wrapped TimeStampToken object.- Returns:
- the default encoding for the wrapped object.
- Throws:
java.io.IOException- on encoding error.
-
-