org.mozilla.jss.asn1
Class UniversalString
java.lang.Object
org.mozilla.jss.asn1.CharacterString
org.mozilla.jss.asn1.UniversalString
- All Implemented Interfaces:
- ASN1Value
public class UniversalString
- extends CharacterString
- implements ASN1Value
A UCS4 string.
Method Summary |
Tag |
getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context. |
static UniversalString.Template |
getTemplate()
Returns a singleton instance of the decoding template for this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TAG
public static final Tag TAG
UniversalString
public UniversalString(char[] chars)
throws java.io.CharConversionException
- Throws:
java.io.CharConversionException
UniversalString
public UniversalString(java.lang.String s)
throws java.io.CharConversionException
- Throws:
java.io.CharConversionException
getTag
public Tag getTag()
- Description copied from interface:
ASN1Value
- Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
- Specified by:
getTag
in interface ASN1Value
- Specified by:
getTag
in class CharacterString
getTemplate
public static UniversalString.Template getTemplate()
- Returns a singleton instance of the decoding template for this class.