JSS 3.1

org.mozilla.jss.asn1
Class ENUMERATED.Template

java.lang.Object
  |
  +--org.mozilla.jss.asn1.INTEGER.Template
        |
        +--org.mozilla.jss.asn1.ENUMERATED.Template

public static class ENUMERATED.Template
extends INTEGER.Template
implements ASN1Template

A template for decoding ENUMERATED values from their BER encodings. The template reads the value as an INTEGER. It does not check that it is a valid value for the ENUMERATED type.


Constructor Summary
ENUMERATED.Template()
           
 
Method Summary
 ASN1Value decode(Tag tag, java.io.InputStream derStream)
           
(package private)  Tag getTag()
           
 boolean tagMatch(Tag tag)
           
 
Methods inherited from class org.mozilla.jss.asn1.INTEGER.Template
decode
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

ENUMERATED.Template

public ENUMERATED.Template()
Method Detail

getTag

Tag getTag()
Overrides:
getTag in class INTEGER.Template

tagMatch

public boolean tagMatch(Tag tag)
Specified by:
tagMatch in interface ASN1Template
Overrides:
tagMatch in class INTEGER.Template

decode

public ASN1Value decode(Tag tag,
                        java.io.InputStream derStream)
                 throws InvalidBERException,
                        java.io.IOException
Specified by:
decode in interface ASN1Template
Overrides:
decode in class INTEGER.Template

JSS 3.1