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
public class ASN1IntegerBC extends ASN1PrimitiveBC implements IASN1Integer
Wrapper class forASN1Integer
.
-
-
Constructor Summary
Constructors Constructor Description ASN1IntegerBC(int i)
Creates new wrapper instance forASN1Integer
.ASN1IntegerBC(java.math.BigInteger i)
Creates new wrapper instance forASN1Integer
.ASN1IntegerBC(org.bouncycastle.asn1.ASN1Integer i)
Creates new wrapper instance forASN1Integer
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.ASN1Integer
getASN1Integer()
Gets actual org.bouncycastle object being wrapped.java.math.BigInteger
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 Detail
-
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
public ASN1IntegerBC(java.math.BigInteger i)
Creates new wrapper instance forASN1Integer
.- Parameters:
i
- BigInteger value to createASN1Integer
to be wrapped
-
-
Method Detail
-
getASN1Integer
public org.bouncycastle.asn1.ASN1Integer getASN1Integer()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
ASN1Integer
.
-
getValue
public java.math.BigInteger getValue()
Calls actualgetValue
method for the wrapped ASN1Integer object.- Specified by:
getValue
in interfaceIASN1Integer
- Returns:
- BigInteger value.
-
-