Class TSTInfoBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
-
- com.itextpdf.bouncycastle.asn1.tsp.TSTInfoBC
-
- All Implemented Interfaces:
IASN1Encodable,ITSTInfo
public class TSTInfoBC extends ASN1EncodableBC implements ITSTInfo
Wrapper class forTSTInfo.
-
-
Constructor Summary
Constructors Constructor Description TSTInfoBC(org.bouncycastle.asn1.tsp.TSTInfo tstInfo)Creates new wrapper instance forTSTInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetGenTime()Calls actualgetGenTimemethod for the wrapped TSTInfo object and gets date.IMessageImprintgetMessageImprint()Calls actualgetMessageImprintmethod for the wrapped TSTInfo object.org.bouncycastle.asn1.tsp.TSTInfogetTstInfo()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
-
-
-
-
Method Detail
-
getTstInfo
public org.bouncycastle.asn1.tsp.TSTInfo getTstInfo()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
TSTInfo.
-
getMessageImprint
public IMessageImprint getMessageImprint()
Calls actualgetMessageImprintmethod for the wrapped TSTInfo object.- Specified by:
getMessageImprintin interfaceITSTInfo- Returns:
IMessageImprintwrapper for the received MessageImprint object.
-
getGenTime
public java.util.Date getGenTime() throws java.text.ParseExceptionCalls actualgetGenTimemethod for the wrapped TSTInfo object and gets date.- Specified by:
getGenTimein interfaceITSTInfo- Returns:
- the received
Dateobject. - Throws:
java.text.ParseException- when parsing cannot be completed.
-
-