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
ConstructorsConstructorDescriptionASN1GeneralizedTimeBCFips(org.bouncycastle.asn1.ASN1GeneralizedTime asn1GeneralizedTime) Creates new wrapper instance forASN1GeneralizedTime. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1GeneralizedTimeGets actual org.bouncycastle object being wrapped.getDate()Calls actualgetDatemethod for the wrapped ASN1GeneralizedTime object.Methods inherited from class com.itextpdf.bouncycastlefips.asn1.ASN1PrimitiveBCFips
getEncoded, getEncoded, getPrimitiveMethods inherited from class com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1PrimitiveMethods 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-ASN1GeneralizedTimeto be wrapped
-
-
Method Details
-
getASN1GeneralizedTime
public org.bouncycastle.asn1.ASN1GeneralizedTime getASN1GeneralizedTime()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1GeneralizedTime.
-
getDate
Calls actualgetDatemethod for the wrapped ASN1GeneralizedTime object.- Specified by:
-
getDatein interfaceIASN1GeneralizedTime - Returns:
-
Datedate stored in the wrapped ASN1GeneralizedTime. - Throws:
-
ParseException- in case of some parsing error.
-