Class TSTInfoBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.tsp.TSTInfoBC
- All Implemented Interfaces:
-
IASN1Encodable
,ITSTInfo
Wrapper class for
TSTInfo
.
-
Constructor Summary
ConstructorDescriptionTSTInfoBC
(org.bouncycastle.asn1.tsp.TSTInfo tstInfo) Creates new wrapper instance forTSTInfo
. -
Method Summary
Modifier and TypeMethodDescriptionCalls actualgetGenTime
method for the wrapped TSTInfo object and gets date.Calls actualgetMessageImprint
method for the wrapped TSTInfo object.org.bouncycastle.asn1.tsp.TSTInfo
Gets actual org.bouncycastle object being wrapped.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
Constructor Details
-
TSTInfoBC
public TSTInfoBC(org.bouncycastle.asn1.tsp.TSTInfo tstInfo) Creates new wrapper instance forTSTInfo
.- Parameters:
-
tstInfo
-TSTInfo
to be wrapped
-
-
Method Details
-
getTstInfo
public org.bouncycastle.asn1.tsp.TSTInfo getTstInfo()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
TSTInfo
.
-
getMessageImprint
Calls actualgetMessageImprint
method for the wrapped TSTInfo object.- Specified by:
-
getMessageImprint
in interfaceITSTInfo
- Returns:
-
IMessageImprint
wrapper for the received MessageImprint object.
-
getGenTime
Calls actualgetGenTime
method for the wrapped TSTInfo object and gets date.- Specified by:
-
getGenTime
in interfaceITSTInfo
- Returns:
-
the received
Date
object. - Throws:
-
ParseException
- when parsing cannot be completed.
-