Package 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
A UCS4 string.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UniversalString.Template
-
Constructor Summary
Constructors Constructor Description UniversalString(char[] chars)
UniversalString(java.lang.String s)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, toCharArray, toString
-
-
-
-
Field Detail
-
TAG
public static final Tag TAG
-
-
Method Detail
-
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 interfaceASN1Value
- Specified by:
getTag
in classCharacterString
- Returns:
- Base tag.
-
getTemplate
public static UniversalString.Template getTemplate()
Returns a singleton instance of the decoding template for this class.- Returns:
- Template.
-
-