Interface ITimeStampResponse
-
- All Known Implementing Classes:
TimeStampResponseBC
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getEncoded()
Calls actualgetEncoded
method for the wrapped TimeStampResponse object.IPKIFailureInfo
getFailInfo()
Calls actualgetFailInfo
method for the wrapped TimeStampResponse object.java.lang.String
getStatusString()
Calls actualgetStatusString
method for the wrapped TimeStampResponse object.ITimeStampToken
getTimeStampToken()
Calls actualgetTimeStampToken
method for the wrapped TimeStampResponse object.void
validate(ITimeStampRequest request)
Calls actualvalidate
method for the wrapped TimeStampResponse object.
-
-
-
Method Detail
-
validate
void validate(ITimeStampRequest request) throws AbstractTSPException
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
java.lang.String getStatusString()
Calls actualgetStatusString
method for the wrapped TimeStampResponse object.- Returns:
- status string.
-
getEncoded
byte[] getEncoded() throws java.io.IOException
Calls actualgetEncoded
method for the wrapped TimeStampResponse object.- Returns:
- the default encoding for the wrapped object.
- Throws:
java.io.IOException
- on encoding error.
-
-