Class ASN1GeneralizedTimeBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.ASN1PrimitiveBCFips
com.itextpdf.bouncycastlefips.asn1.ASN1GeneralizedTimeBCFips
- All Implemented Interfaces:
-
IASN1Encodable
,IASN1GeneralizedTime
,IASN1Primitive
Wrapper class for
ASN1GeneralizedTime
.
-
Constructor Summary
ConstructorDescriptionASN1GeneralizedTimeBCFips
(org.bouncycastle.asn1.ASN1GeneralizedTime asn1GeneralizedTime) Creates new wrapper instance forASN1GeneralizedTime
. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1GeneralizedTime
Gets actual org.bouncycastle object being wrapped.getDate()
Calls actualgetDate
method for the wrapped ASN1GeneralizedTime object.Methods inherited from class com.itextpdf.bouncycastlefips.asn1.ASN1PrimitiveBCFips
getEncoded, getEncoded, getPrimitive
Methods inherited from class com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
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
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Primitive
getEncoded, getEncoded
-
Constructor Details
-
ASN1GeneralizedTimeBCFips
public ASN1GeneralizedTimeBCFips(org.bouncycastle.asn1.ASN1GeneralizedTime asn1GeneralizedTime) Creates new wrapper instance forASN1GeneralizedTime
.- Parameters:
-
asn1GeneralizedTime
-ASN1GeneralizedTime
to be wrapped
-
-
Method Details
-
getASN1GeneralizedTime
public org.bouncycastle.asn1.ASN1GeneralizedTime getASN1GeneralizedTime()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1GeneralizedTime
.
-
getDate
Calls actualgetDate
method for the wrapped ASN1GeneralizedTime object.- Specified by:
-
getDate
in interfaceIASN1GeneralizedTime
- Returns:
-
Date
date stored in the wrapped ASN1GeneralizedTime. - Throws:
-
ParseException
- in case of some parsing error.
-