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 actualgetEncodedmethod for the wrapped TimeStampResponse object.Calls actualgetFailInfomethod for the wrapped TimeStampResponse object.Calls actualgetStatusStringmethod for the wrapped TimeStampResponse object.Calls actualgetTimeStampTokenmethod for the wrapped TimeStampResponse object.voidvalidate(ITimeStampRequest request) Calls actualvalidatemethod for the wrapped TimeStampResponse object.
-
Method Details
-
validate
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
String getStatusString()Calls actualgetStatusStringmethod for the wrapped TimeStampResponse object.- Returns:
- status string.
-
getEncoded
Calls actualgetEncodedmethod for the wrapped TimeStampResponse object.- Returns:
- the default encoding for the wrapped object.
- Throws:
-
IOException- on encoding error.
-