Package org.mozilla.jss.asn1
Class Tag.Class
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description static Tag.Class
APPLICATION
static Tag.Class
CONTEXT_SPECIFIC
static Tag.Class
PRIVATE
static Tag.Class
UNIVERSAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Tag.Class
fromInt(int i)
int
toInt()
java.lang.String
toString()
-
-
-
Method Detail
-
toInt
public int toInt()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
fromInt
public static Tag.Class fromInt(int i) throws InvalidBERException
- Parameters:
i
- Tag encoding.- Returns:
- Tag class.
- Throws:
InvalidBERException
- If the given int does not correspond to any tag class.
-
-