Interface ITimeStampResponse
- All Known Implementing Classes:
-
TimeStampResponseBC
,TimeStampResponseBCFips
public interface ITimeStampResponse
This interface represents the wrapper for TimeStampResponse that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Calls actualgetEncoded
method for the wrapped TimeStampResponse object.Calls actualgetFailInfo
method for the wrapped TimeStampResponse object.Calls actualgetStatusString
method for the wrapped TimeStampResponse object.Calls actualgetTimeStampToken
method for the wrapped TimeStampResponse object.void
validate
(ITimeStampRequest request) Calls actualvalidate
method for the wrapped TimeStampResponse object.
-
Method Details
-
validate
Calls actualvalidate
method for the wrapped TimeStampResponse object.- Parameters:
-
request
- TimeStampRequest wrapper - Throws:
-
AbstractTSPException
- TSPException wrapper.
-
getFailInfo
IPKIFailureInfo getFailInfo()Calls actualgetFailInfo
method for the wrapped TimeStampResponse object.- Returns:
-
IPKIFailureInfo
the wrapper for the received PKIFailureInfo object.
-
getTimeStampToken
ITimeStampToken getTimeStampToken()Calls actualgetTimeStampToken
method for the wrapped TimeStampResponse object.- Returns:
-
ITimeStampToken
the wrapper for the received TimeStampToken object.
-
getStatusString
String getStatusString()Calls actualgetStatusString
method for the wrapped TimeStampResponse object.- Returns:
- status string.
-
getEncoded
Calls actualgetEncoded
method for the wrapped TimeStampResponse object.- Returns:
- the default encoding for the wrapped object.
- Throws:
-
IOException
- on encoding error.
-