public class ENUMERATED extends INTEGER implements ASN1Value
ENUMERATED value. This has the same
 interface as INTEGER| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ENUMERATED.Template
A template for decoding ENUMERATED values from their BER encodings. 
 | 
| Constructor and Description | 
|---|
ENUMERATED(long val)
Creates a new ENUMERATED value from a long. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Tag | 
getTag()
Returns the base tag for this type, not counting any tags
 that may be imposed on it by its context. 
 | 
static ASN1Template | 
getTemplate()  | 
long | 
getValue()
Returns the value as a long. 
 | 
encode, encode, encode, getContentLength, mainabs, add, and, andNot, bitCount, bitLength, clearBit, compareTo, divide, divideAndRemainder, doubleValue, equals, flipBit, floatValue, gcd, getLowestSetBit, hashCode, intValue, isProbablePrime, longValue, max, min, mod, modInverse, modPow, multiply, negate, nextProbablePrime, not, or, pow, probablePrime, remainder, setBit, shiftLeft, shiftRight, signum, subtract, testBit, toByteArray, toString, toString, valueOf, xorpublic static final Tag TAG
public ENUMERATED(long val)
public Tag getTag()
ASN1Valuepublic long getValue()
public static ASN1Template getTemplate()