org.bouncycastle.asn1
public class DEREnumerated extends ASN1Object
| Constructor Summary | |
|---|---|
| DEREnumerated(int value) | |
| DEREnumerated(BigInteger value) | |
| DEREnumerated(byte[] bytes) | |
| Method Summary | |
|---|---|
| static DEREnumerated | getInstance(Object obj)
return an integer from the passed in object
|
| static DEREnumerated | getInstance(ASN1TaggedObject obj, boolean explicit)
return an Enumerated from a tagged object.
|
| BigInteger | getValue() |
| int | hashCode() |
Throws: IllegalArgumentException if the object cannot be converted.
Parameters: obj the tagged object holding the object we want explicit true if the object is meant to be explicitly tagged false otherwise.
Throws: IllegalArgumentException if the tagged object cannot be converted.