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
ConstructorsConstructorDescriptionASN1IntegerBC(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.ASN1IntegerGets actual org.bouncycastle object being wrapped.getValue()Calls actualgetValuemethod for the wrapped ASN1Integer object.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1PrimitiveBC
getEncoded, getEncoded, getPrimitiveMethods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
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
-
ASN1IntegerBC
public ASN1IntegerBC(org.bouncycastle.asn1.ASN1Integer i) Creates new wrapper instance forASN1Integer.- Parameters:
-
i-ASN1Integerto be wrapped
-
ASN1IntegerBC
public ASN1IntegerBC(int i) Creates new wrapper instance forASN1Integer.- Parameters:
-
i- int value to createASN1Integerto be wrapped
-
ASN1IntegerBC
Creates new wrapper instance forASN1Integer.- Parameters:
-
i- BigInteger value to createASN1Integerto be wrapped
-
-
Method Details
-
getASN1Integer
public org.bouncycastle.asn1.ASN1Integer getASN1Integer()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1Integer.
-
getValue
Calls actualgetValuemethod for the wrapped ASN1Integer object.- Specified by:
-
getValuein interfaceIASN1Integer - Returns:
- BigInteger value.
-