You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.




org.mozilla.jss.asn1
Class Tag.Class

java.lang.Object
  extended by org.mozilla.jss.asn1.Tag.Class
Enclosing class:
Tag

public static class Tag.Class
extends java.lang.Object

An enumeration of the ASN.1 tag classes.


Field Summary
static Tag.Class APPLICATION
           
static Tag.Class CONTEXT_SPECIFIC
           
static Tag.Class PRIVATE
           
static Tag.Class UNIVERSAL
           
 
Method Summary
static Tag.Class fromInt(int i)
           
 int toInt()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNIVERSAL

public static final Tag.Class UNIVERSAL

APPLICATION

public static final Tag.Class APPLICATION

CONTEXT_SPECIFIC

public static final Tag.Class CONTEXT_SPECIFIC

PRIVATE

public static final Tag.Class PRIVATE
Method Detail

toInt

public int toInt()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

fromInt

public static Tag.Class fromInt(int i)
                         throws InvalidBERException
Throws:
InvalidBERException - If the given int does not correspond to any tag class.