java.io.Serializable
, java.lang.Comparable<java.math.BigInteger>
, ASN1Value
public class ENUMERATED extends INTEGER implements ASN1Value
ENUMERATED
value. This has the same
interface as INTEGER
Modifier and Type | Class | Description |
---|---|---|
static class |
ENUMERATED.Template |
A template for decoding ENUMERATED values from their BER encodings.
|
Constructor | Description |
---|---|
ENUMERATED(long val) |
Creates a new ENUMERATED value from a long int.
|
Modifier and Type | Method | 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() |
abs, add, and, andNot, bitCount, bitLength, byteValueExact, clearBit, compareTo, divide, divideAndRemainder, doubleValue, equals, flipBit, floatValue, gcd, getLowestSetBit, hashCode, intValue, intValueExact, isProbablePrime, longValue, longValueExact, max, min, mod, modInverse, modPow, multiply, negate, nextProbablePrime, not, or, pow, probablePrime, remainder, setBit, shiftLeft, shiftRight, shortValueExact, signum, sqrt, sqrtAndRemainder, subtract, testBit, toByteArray, toString, toString, valueOf, xor
public static final Tag TAG
public ENUMERATED(long val)
val
- Input value.public Tag getTag()
ASN1Value
public long getValue()
public static ASN1Template getTemplate()