Class TimeStampTokenBC
java.lang.Object
com.itextpdf.bouncycastle.tsp.TimeStampTokenBC
- All Implemented Interfaces:
ITimeStampToken
Wrapper class for
TimeStampToken.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.bouncycastle.tsp.TimeStampToken -
Constructor Summary
ConstructorsConstructorDescriptionTimeStampTokenBC(org.bouncycastle.tsp.TimeStampToken timeStampToken) Creates new wrapper instance forTimeStampToken. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.byte[]Calls actualgetEncodedmethod for the wrapped TimeStampToken object.Calls actualgetTimeStampInfomethod for the wrapped TimeStampToken object.org.bouncycastle.tsp.TimeStampTokenGets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.voidvalidate(ISignerInformationVerifier verifier) Calls actualvalidatemethod for the wrapped TimeStampToken object.
-
Field Details
-
timeStampToken
private final org.bouncycastle.tsp.TimeStampToken timeStampToken
-
-
Constructor Details
-
TimeStampTokenBC
public TimeStampTokenBC(org.bouncycastle.tsp.TimeStampToken timeStampToken) Creates new wrapper instance forTimeStampToken.- Parameters:
timeStampToken-TimeStampTokento be wrapped
-
-
Method Details
-
getTimeStampToken
public org.bouncycastle.tsp.TimeStampToken getTimeStampToken()Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
TimeStampToken.
-
getTimeStampInfo
Calls actualgetTimeStampInfomethod for the wrapped TimeStampToken object.- Specified by:
getTimeStampInfoin interfaceITimeStampToken- Returns:
ITimeStampTokenInfothe wrapper for the received TimeStampInfo object.
-
getEncoded
Calls actualgetEncodedmethod for the wrapped TimeStampToken object.- Specified by:
getEncodedin interfaceITimeStampToken- Returns:
- the default encoding for the wrapped object.
- Throws:
IOException- on encoding error.
-
validate
Calls actualvalidatemethod for the wrapped TimeStampToken object.- Specified by:
validatein interfaceITimeStampToken- Parameters:
verifier- SignerInformationVerifier wrapper- Throws:
TSPExceptionBC
-
equals
-
hashCode
-
toString
-