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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getEncoded()
Calls actualgetEncoded
method for the wrapped TimeStampToken object.ITimeStampTokenInfo
getTimeStampInfo()
Calls actualgetTimeStampInfo
method for the wrapped TimeStampToken object.void
validate(ISignerInformationVerifier verifier)
Calls actualvalidate
method for the wrapped TimeStampToken object.
-
-
-
Method Detail
-
getTimeStampInfo
ITimeStampTokenInfo getTimeStampInfo()
Calls actualgetTimeStampInfo
method for the wrapped TimeStampToken object.- Returns:
ITimeStampTokenInfo
the wrapper for the received TimeStampInfo object.
-
validate
void validate(ISignerInformationVerifier verifier) throws AbstractTSPException
Calls actualvalidate
method for the wrapped TimeStampToken object.- Parameters:
verifier
- SignerInformationVerifier wrapper- Throws:
AbstractTSPException
- TSPException wrapper.
-
getEncoded
byte[] getEncoded() throws java.io.IOException
Calls actualgetEncoded
method for the wrapped TimeStampToken object.- Returns:
- the default encoding for the wrapped object.
- Throws:
java.io.IOException
- on encoding error.
-
-