Interface ITimeStampResponse
-
- All Known Implementing Classes:
TimeStampResponseBC
public interface ITimeStampResponseThis interface represents the wrapper for TimeStampResponse 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 TimeStampResponse object.IPKIFailureInfogetFailInfo()Calls actualgetFailInfomethod for the wrapped TimeStampResponse object.java.lang.StringgetStatusString()Calls actualgetStatusStringmethod for the wrapped TimeStampResponse object.ITimeStampTokengetTimeStampToken()Calls actualgetTimeStampTokenmethod for the wrapped TimeStampResponse object.voidvalidate(ITimeStampRequest request)Calls actualvalidatemethod for the wrapped TimeStampResponse object.
-
-
-
Method Detail
-
validate
void validate(ITimeStampRequest request) throws AbstractTSPException
Calls actualvalidatemethod for the wrapped TimeStampResponse object.- Parameters:
request- TimeStampRequest wrapper- Throws:
AbstractTSPException- TSPException wrapper.
-
getFailInfo
IPKIFailureInfo getFailInfo()
Calls actualgetFailInfomethod for the wrapped TimeStampResponse object.- Returns:
IPKIFailureInfothe wrapper for the received PKIFailureInfo object.
-
getTimeStampToken
ITimeStampToken getTimeStampToken()
Calls actualgetTimeStampTokenmethod for the wrapped TimeStampResponse object.- Returns:
ITimeStampTokenthe wrapper for the received TimeStampToken object.
-
getStatusString
java.lang.String getStatusString()
Calls actualgetStatusStringmethod for the wrapped TimeStampResponse object.- Returns:
- status string.
-
getEncoded
byte[] getEncoded() throws java.io.IOExceptionCalls actualgetEncodedmethod for the wrapped TimeStampResponse object.- Returns:
- the default encoding for the wrapped object.
- Throws:
java.io.IOException- on encoding error.
-
-