Interface ITimeStampToken
- All Known Implementing Classes:
TimeStampTokenBC
public interface ITimeStampToken
This interface represents the wrapper for TimeStampToken that provides the ability
to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]Calls actualgetEncodedmethod for the wrapped TimeStampToken object.Calls actualgetTimeStampInfomethod for the wrapped TimeStampToken object.voidvalidate(ISignerInformationVerifier verifier) Calls actualvalidatemethod for the wrapped TimeStampToken object.
-
Method Details
-
getTimeStampInfo
ITimeStampTokenInfo getTimeStampInfo()Calls actualgetTimeStampInfomethod for the wrapped TimeStampToken object.- Returns:
ITimeStampTokenInfothe wrapper for the received TimeStampInfo object.
-
validate
Calls actualvalidatemethod for the wrapped TimeStampToken object.- Parameters:
verifier- SignerInformationVerifier wrapper- Throws:
AbstractTSPException- TSPException wrapper.
-
getEncoded
Calls actualgetEncodedmethod for the wrapped TimeStampToken object.- Returns:
- the default encoding for the wrapped object.
- Throws:
IOException- on encoding error.
-