org.mozilla.jss.asn1
Class ENUMERATED
- ASN1Value
Represents an ASN.1 ENUMERATED
value. This has the same
interface as INTEGER
static class | ENUMERATED.Template - A template for decoding ENUMERATED values from their BER encodings.
|
ENUMERATED(long val) - Creates a new ENUMERATED value from a long.
|
TAG
public static final Tag TAG
ENUMERATED
public ENUMERATED(long val)
Creates a new ENUMERATED value from a long.
getTag
public Tag getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
- getTag in interface ASN1Value
- getTag in interface INTEGER
getValue
public long getValue()
Returns the value as a long.