Class ASN1EnumeratedBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.ASN1PrimitiveBCFips
com.itextpdf.bouncycastlefips.asn1.ASN1EnumeratedBCFips
- All Implemented Interfaces:
-
IASN1Encodable
,IASN1Enumerated
,IASN1Primitive
Wrapper class for
ASN1Enumerated
.
-
Constructor Summary
ConstructorDescriptionASN1EnumeratedBCFips
(int i) Creates new wrapper instance forASN1Enumerated
.ASN1EnumeratedBCFips
(org.bouncycastle.asn1.ASN1Enumerated asn1Enumerated) Creates new wrapper instance forASN1Enumerated
. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1Enumerated
Gets actual org.bouncycastle object being wrapped.int
Calls actualintValueExact()
method for the wrapped ASN1Enumerated 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
-
ASN1EnumeratedBCFips
public ASN1EnumeratedBCFips(org.bouncycastle.asn1.ASN1Enumerated asn1Enumerated) Creates new wrapper instance forASN1Enumerated
.- Parameters:
-
asn1Enumerated
-ASN1Enumerated
to be wrapped
-
ASN1EnumeratedBCFips
public ASN1EnumeratedBCFips(int i) Creates new wrapper instance forASN1Enumerated
.- Parameters:
-
i
- int value to createASN1Enumerated
to be wrapped
-
-
Method Details
-
getASN1Enumerated
public org.bouncycastle.asn1.ASN1Enumerated getASN1Enumerated()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1Enumerated
.
-
intValueExact
public int intValueExact()Calls actualintValueExact()
method for the wrapped ASN1Enumerated object.- Specified by:
-
intValueExact
in interfaceIASN1Enumerated
- Returns:
- integer value of the wrapped ASN1Enumerated object.
-