Class TimeStampResponseBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.tsp.TimeStampResponseBCFips
- All Implemented Interfaces:
-
ITimeStampResponse
Wrapper class for
TimeStampResponse.
-
Constructor Summary
ConstructorsConstructorDescriptionTimeStampResponseBCFips(org.bouncycastle.tsp.TimeStampResponse timeStampResponse) Creates new wrapper instance forTimeStampResponse. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.byte[]Calls actualgetEncodedmethod for the wrapped TimeStampResponse object.Calls actualgetFailInfomethod for the wrapped TimeStampResponse object.Calls actualgetStatusStringmethod for the wrapped TimeStampResponse object.org.bouncycastle.tsp.TimeStampResponseGets actual org.bouncycastle object being wrapped.Calls actualgetTimeStampTokenmethod for the wrapped TimeStampResponse object.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.voidvalidate(ITimeStampRequest request) Calls actualvalidatemethod for the wrapped TimeStampResponse object.
-
Constructor Details
-
TimeStampResponseBCFips
public TimeStampResponseBCFips(org.bouncycastle.tsp.TimeStampResponse timeStampResponse) Creates new wrapper instance forTimeStampResponse.- Parameters:
-
timeStampResponse-TimeStampResponseto be wrapped
-
-
Method Details
-
getTimeStampResponse
public org.bouncycastle.tsp.TimeStampResponse getTimeStampResponse()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
TimeStampResponse.
-
validate
Calls actualvalidatemethod for the wrapped TimeStampResponse object.- Specified by:
-
validatein interfaceITimeStampResponse - Parameters:
-
request- TimeStampRequest wrapper - Throws:
-
TSPExceptionBCFips
-
getFailInfo
Calls actualgetFailInfomethod for the wrapped TimeStampResponse object.- Specified by:
-
getFailInfoin interfaceITimeStampResponse - Returns:
-
IPKIFailureInfothe wrapper for the received PKIFailureInfo object.
-
getTimeStampToken
Calls actualgetTimeStampTokenmethod for the wrapped TimeStampResponse object.- Specified by:
-
getTimeStampTokenin interfaceITimeStampResponse - Returns:
-
ITimeStampTokenthe wrapper for the received TimeStampToken object.
-
getStatusString
Calls actualgetStatusStringmethod for the wrapped TimeStampResponse object.- Specified by:
-
getStatusStringin interfaceITimeStampResponse - Returns:
- status string.
-
getEncoded
Calls actualgetEncodedmethod for the wrapped TimeStampResponse object.- Specified by:
-
getEncodedin interfaceITimeStampResponse - Returns:
- the default encoding for the wrapped object.
- Throws:
-
IOException- on encoding error.
-
equals
Indicates whether some other object is "equal to" this one. Compares wrapped objects. -
hashCode
public int hashCode()Returns a hash code value based on the wrapped object. -
toString
DelegatestoStringmethod call to the wrapped object.
-