Class TimeStampResponseBC
java.lang.Object
com.itextpdf.bouncycastle.tsp.TimeStampResponseBC
- All Implemented Interfaces:
ITimeStampResponse
Wrapper class for
TimeStampResponse.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.bouncycastle.tsp.TimeStampResponse -
Constructor Summary
ConstructorsConstructorDescriptionTimeStampResponseBC(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.
-
Field Details
-
timeStampResponse
private final org.bouncycastle.tsp.TimeStampResponse timeStampResponse
-
-
Constructor Details
-
TimeStampResponseBC
public TimeStampResponseBC(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:
TSPExceptionBC
-
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
-
hashCode
-
toString
-