Class ASN1IntegerBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.ASN1PrimitiveBCFips
com.itextpdf.bouncycastlefips.asn1.ASN1IntegerBCFips
- All Implemented Interfaces:
-
IASN1Encodable
,IASN1Integer
,IASN1Primitive
Wrapper class for
ASN1Integer
.
-
Constructor Summary
ConstructorDescriptionASN1IntegerBCFips
(int i) Creates new wrapper instance forASN1Integer
.Creates new wrapper instance forASN1Integer
.ASN1IntegerBCFips
(org.bouncycastle.asn1.ASN1Integer i) Creates new wrapper instance forASN1Integer
. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1Integer
Gets actual org.bouncycastle object being wrapped.getValue()
Calls actualgetValue
method for the wrapped ASN1Integer 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
-
ASN1IntegerBCFips
public ASN1IntegerBCFips(org.bouncycastle.asn1.ASN1Integer i) Creates new wrapper instance forASN1Integer
.- Parameters:
-
i
-ASN1Integer
to be wrapped
-
ASN1IntegerBCFips
public ASN1IntegerBCFips(int i) Creates new wrapper instance forASN1Integer
.- Parameters:
-
i
- int value to createASN1Integer
to be wrapped
-
ASN1IntegerBCFips
Creates new wrapper instance forASN1Integer
.- Parameters:
-
i
- BigInteger value to createASN1Integer
to be wrapped
-
-
Method Details
-
getASN1Integer
public org.bouncycastle.asn1.ASN1Integer getASN1Integer()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1Integer
.
-
getValue
Calls actualgetValue
method for the wrapped ASN1Integer object.- Specified by:
-
getValue
in interfaceIASN1Integer
- Returns:
- BigInteger value.
-