Class TimeStampTokenInfoBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.tsp.TimeStampTokenInfoBCFips
- All Implemented Interfaces:
-
ITimeStampTokenInfo
Wrapper class for
TimeStampTokenInfo
.
-
Constructor Summary
ConstructorDescriptionTimeStampTokenInfoBCFips
(org.bouncycastle.tsp.TimeStampTokenInfo timeStampTokenInfo) Creates new wrapper instance forTimeStampTokenInfo
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.byte[]
Calls actualgetEncoded
method for the wrapped TimeStampTokenInfo object.Calls actualgetGenTime
method for the wrapped TimeStampTokenInfo object.Calls actualgetHashAlgorithm
method for the wrapped TimeStampTokenInfo object.org.bouncycastle.tsp.TimeStampTokenInfo
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.Calls actualtoASN1Structure
method for the wrapped TimeStampTokenInfo object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
TimeStampTokenInfoBCFips
public TimeStampTokenInfoBCFips(org.bouncycastle.tsp.TimeStampTokenInfo timeStampTokenInfo) Creates new wrapper instance forTimeStampTokenInfo
.- Parameters:
-
timeStampTokenInfo
-TimeStampTokenInfo
to be wrapped
-
-
Method Details
-
getTimeStampTokenInfo
public org.bouncycastle.tsp.TimeStampTokenInfo getTimeStampTokenInfo()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
TimeStampTokenInfo
.
-
getHashAlgorithm
Calls actualgetHashAlgorithm
method for the wrapped TimeStampTokenInfo object.- Specified by:
-
getHashAlgorithm
in interfaceITimeStampTokenInfo
- Returns:
-
IAlgorithmIdentifier
the wrapper for the received AlgorithmIdentifier object.
-
toASN1Structure
Calls actualtoASN1Structure
method for the wrapped TimeStampTokenInfo object.- Specified by:
-
toASN1Structure
in interfaceITimeStampTokenInfo
- Returns:
-
ITSTInfo
TSTInfo wrapper.
-
getGenTime
Calls actualgetGenTime
method for the wrapped TimeStampTokenInfo object.- Specified by:
-
getGenTime
in interfaceITimeStampTokenInfo
- Returns:
-
Date
the received genTime.
-
getEncoded
Calls actualgetEncoded
method for the wrapped TimeStampTokenInfo object.- Specified by:
-
getEncoded
in 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
DelegatestoString
method call to the wrapped object.
-