org.mozilla.jss.asn1

Class ENUMERATED

public class ENUMERATED extends INTEGER implements ASN1Value

Represents an ASN.1 ENUMERATED value. This has the same interface as INTEGER
Nested Class Summary
static classENUMERATED.Template
A template for decoding ENUMERATED values from their BER encodings.
Field Summary
static TagTAG
Constructor Summary
ENUMERATED(long val)
Creates a new ENUMERATED value from a long.
Method Summary
TaggetTag()
static ASN1TemplategetTemplate()
longgetValue()
Returns the value as a long.

Field Detail

TAG

public static final Tag TAG

Constructor Detail

ENUMERATED

public ENUMERATED(long val)
Creates a new ENUMERATED value from a long.

Method Detail

getTag

public Tag getTag()

getTemplate

public static ASN1Template getTemplate()

getValue

public long getValue()
Returns the value as a long.