Interface ITSTInfo
- All Superinterfaces:
-
IASN1Encodable
- All Known Implementing Classes:
-
TSTInfoBC
,TSTInfoBCFips
This interface represents the wrapper for TSTInfo that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptionCalls actualgetGenTime
method for the wrapped TSTInfo object and gets date.Calls actualgetMessageImprint
method for the wrapped TSTInfo object.Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
Method Details
-
getMessageImprint
IMessageImprint getMessageImprint()Calls actualgetMessageImprint
method for the wrapped TSTInfo object.- Returns:
-
IMessageImprint
wrapper for the received MessageImprint object.
-
getGenTime
Calls actualgetGenTime
method for the wrapped TSTInfo object and gets date.- Returns:
-
the received
Date
object. - Throws:
-
ParseException
- when parsing cannot be completed.
-