Package com.itextpdf.bouncycastle.asn1
Class ASN1EnumeratedBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.ASN1PrimitiveBC
com.itextpdf.bouncycastle.asn1.ASN1EnumeratedBC
- All Implemented Interfaces:
-
IASN1Encodable
,IASN1Enumerated
,IASN1Primitive
Wrapper class for
ASN1Enumerated
.
-
Constructor Summary
ConstructorDescriptionASN1EnumeratedBC
(int i) Creates new wrapper instance forASN1Enumerated
.ASN1EnumeratedBC
(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.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
-
ASN1EnumeratedBC
public ASN1EnumeratedBC(org.bouncycastle.asn1.ASN1Enumerated asn1Enumerated) Creates new wrapper instance forASN1Enumerated
.- Parameters:
-
asn1Enumerated
-ASN1Enumerated
to be wrapped
-
ASN1EnumeratedBC
public ASN1EnumeratedBC(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.
-