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