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
ConstructorsConstructorDescriptionASN1IntegerBCFips(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.ASN1IntegerGets actual org.bouncycastle object being wrapped.getValue()Calls actualgetValuemethod for the wrapped ASN1Integer 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
-
ASN1IntegerBCFips
public ASN1IntegerBCFips(org.bouncycastle.asn1.ASN1Integer i) Creates new wrapper instance forASN1Integer.- Parameters:
-
i-ASN1Integerto be wrapped
-
ASN1IntegerBCFips
public ASN1IntegerBCFips(int i) Creates new wrapper instance forASN1Integer.- Parameters:
-
i- int value to createASN1Integerto be wrapped
-
ASN1IntegerBCFips
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.
-