org.mozilla.jss.asn1

Class UniversalString

Implemented Interfaces:
ASN1Value

public class UniversalString
extends CharacterString
implements ASN1Value

A UCS4 string.

Nested Class Summary

static class
UniversalString.Template

Nested classes/interfaces inherited from class org.mozilla.jss.asn1.CharacterString

CharacterString.Template

Field Summary

static Tag
TAG

Constructor Summary

UniversalString(String s)
UniversalString(char[] chars)

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 org.mozilla.jss.asn1.CharacterString

encode, encode, getTag, toCharArray, toString

Field Details

TAG

public static final Tag TAG

Constructor Details

UniversalString

public UniversalString(String s)
            throws CharConversionException


UniversalString

public UniversalString(char[] chars)
            throws CharConversionException

Method Details

getTag

public Tag getTag()
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
Overrides:
getTag in interface CharacterString


getTemplate

public static UniversalString.Template getTemplate()
Returns a singleton instance of the decoding template for this class.