Package com.itextpdf.bouncycastle.asn1
Class ASN1IntegerBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.ASN1PrimitiveBC
com.itextpdf.bouncycastle.asn1.ASN1IntegerBC
- All Implemented Interfaces:
-
IASN1Encodable
,IASN1Integer
,IASN1Primitive
Wrapper class for
ASN1Integer
.
-
Constructor Summary
ConstructorDescriptionASN1IntegerBC
(int i) Creates new wrapper instance forASN1Integer
.Creates new wrapper instance forASN1Integer
.ASN1IntegerBC
(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.bouncycastle.asn1.ASN1PrimitiveBC
getEncoded, getEncoded, getPrimitive
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
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Primitive
getEncoded, getEncoded
-
Constructor Details
-
ASN1IntegerBC
public ASN1IntegerBC(org.bouncycastle.asn1.ASN1Integer i) Creates new wrapper instance forASN1Integer
.- Parameters:
-
i
-ASN1Integer
to be wrapped
-
ASN1IntegerBC
public ASN1IntegerBC(int i) Creates new wrapper instance forASN1Integer
.- Parameters:
-
i
- int value to createASN1Integer
to be wrapped
-
ASN1IntegerBC
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.
-