Class TimeStampTokenInfoBC
java.lang.Object
com.itextpdf.bouncycastle.tsp.TimeStampTokenInfoBC
- All Implemented Interfaces:
ITimeStampTokenInfo
Wrapper class for
TimeStampTokenInfo.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.bouncycastle.tsp.TimeStampTokenInfo -
Constructor Summary
ConstructorsConstructorDescriptionTimeStampTokenInfoBC(org.bouncycastle.tsp.TimeStampTokenInfo timeStampTokenInfo) Creates new wrapper instance forTimeStampTokenInfo. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.byte[]Calls actualgetEncodedmethod for the wrapped TimeStampTokenInfo object.Calls actualgetGenTimemethod for the wrapped TimeStampTokenInfo object.Calls actualgetHashAlgorithmmethod for the wrapped TimeStampTokenInfo object.org.bouncycastle.tsp.TimeStampTokenInfoGets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.Calls actualtoASN1Structuremethod for the wrapped TimeStampTokenInfo object.toString()DelegatestoStringmethod call to the wrapped object.
-
Field Details
-
timeStampTokenInfo
private final org.bouncycastle.tsp.TimeStampTokenInfo timeStampTokenInfo
-
-
Constructor Details
-
TimeStampTokenInfoBC
public TimeStampTokenInfoBC(org.bouncycastle.tsp.TimeStampTokenInfo timeStampTokenInfo) Creates new wrapper instance forTimeStampTokenInfo.- Parameters:
timeStampTokenInfo-TimeStampTokenInfoto be wrapped
-
-
Method Details
-
getTimeStampTokenInfo
public org.bouncycastle.tsp.TimeStampTokenInfo getTimeStampTokenInfo()Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
TimeStampTokenInfo.
-
getHashAlgorithm
Calls actualgetHashAlgorithmmethod for the wrapped TimeStampTokenInfo object.- Specified by:
getHashAlgorithmin interfaceITimeStampTokenInfo- Returns:
IAlgorithmIdentifierthe wrapper for the received AlgorithmIdentifier object.
-
toASN1Structure
Calls actualtoASN1Structuremethod for the wrapped TimeStampTokenInfo object.- Specified by:
toASN1Structurein interfaceITimeStampTokenInfo- Returns:
ITSTInfoTSTInfo wrapper.
-
getGenTime
Calls actualgetGenTimemethod for the wrapped TimeStampTokenInfo object.- Specified by:
getGenTimein interfaceITimeStampTokenInfo- Returns:
Datethe received genTime.
-
getEncoded
Calls actualgetEncodedmethod for the wrapped TimeStampTokenInfo object.- Specified by:
getEncodedin interfaceITimeStampTokenInfo- Returns:
- the default encoding for the wrapped object.
- Throws:
IOException- on encoding error.
-
equals
-
hashCode
-
toString
-