Package org.mozilla.jss.asn1
Class UniversalString
java.lang.Object
org.mozilla.jss.asn1.CharacterString
org.mozilla.jss.asn1.UniversalString
- All Implemented Interfaces:
ASN1Value
A UCS4 string.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprivate static classA class for converting between Unicode and UCS4. -
Field Summary
FieldsFields inherited from class org.mozilla.jss.asn1.CharacterString
FORM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) CharConvertergetTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static UniversalString.TemplateReturns a singleton instance of the decoding template for this class.Methods inherited from class org.mozilla.jss.asn1.CharacterString
encode, encode, toCharArray, toString
-
Field Details
-
TAG
-
templateInstance
-
-
Constructor Details
-
UniversalString
- Throws:
CharConversionException
-
UniversalString
- Throws:
CharConversionException
-
-
Method Details
-
getTag
Description copied from interface:ASN1ValueReturns the base tag for this type, not counting any tags that may be imposed on it by its context.- Specified by:
getTagin interfaceASN1Value- Specified by:
getTagin classCharacterString- Returns:
- Base tag.
-
getCharConverter
CharConverter getCharConverter()- Specified by:
getCharConverterin classCharacterString
-
getTemplate
Returns a singleton instance of the decoding template for this class.- Returns:
- Template.
-