Class TSTInfoBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.tsp.TSTInfoBCFips
- All Implemented Interfaces:
-
IASN1Encodable,ITSTInfo
Wrapper class for
TSTInfo.
-
Constructor Summary
ConstructorsConstructorDescriptionTSTInfoBCFips(org.bouncycastle.asn1.tsp.TSTInfo tstInfo) Creates new wrapper instance forTSTInfo. -
Method Summary
Modifier and TypeMethodDescriptionCalls actualgetGenTimemethod for the wrapped TSTInfo object and gets date.Calls actualgetMessageImprintmethod for the wrapped TSTInfo object.org.bouncycastle.asn1.tsp.TSTInfoGets actual org.bouncycastle object being wrapped.Methods inherited from class com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
Constructor Details
-
TSTInfoBCFips
public TSTInfoBCFips(org.bouncycastle.asn1.tsp.TSTInfo tstInfo) Creates new wrapper instance forTSTInfo.- Parameters:
-
tstInfo-TSTInfoto be wrapped
-
-
Method Details
-
getTstInfo
public org.bouncycastle.asn1.tsp.TSTInfo getTstInfo()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
TSTInfo.
-
getMessageImprint
Calls actualgetMessageImprintmethod for the wrapped TSTInfo object.- Specified by:
-
getMessageImprintin interfaceITSTInfo - Returns:
-
IMessageImprintwrapper for the received MessageImprint object.
-
getGenTime
Calls actualgetGenTimemethod for the wrapped TSTInfo object and gets date.- Specified by:
-
getGenTimein interfaceITSTInfo - Returns:
-
the received
Dateobject. - Throws:
-
ParseException- when parsing cannot be completed.
-