Class TimeStampTokenInfoBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.tsp.TimeStampTokenInfoBCFips
- All Implemented Interfaces:
-
ITimeStampTokenInfo
Wrapper class for
TimeStampTokenInfo.
-
Constructor Summary
ConstructorsConstructorDescriptionTimeStampTokenInfoBCFips(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.
-
Constructor Details
-
TimeStampTokenInfoBCFips
public TimeStampTokenInfoBCFips(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
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.
-