Package org.mozilla.jss.asn1
Class UTF8String
- java.lang.Object
-
- org.mozilla.jss.asn1.CharacterString
-
- org.mozilla.jss.asn1.UTF8String
-
- All Implemented Interfaces:
ASN1Value
public class UTF8String extends CharacterString implements ASN1Value
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUTF8String.Template
-
Constructor Summary
Constructors Constructor Description UTF8String(char[] chars)UTF8String(java.lang.String s)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TaggetTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static UTF8String.TemplategetTemplate()Returns a singleton instance of UTF8String.Template.-
Methods inherited from class org.mozilla.jss.asn1.CharacterString
encode, encode, toCharArray, toString
-
-
-
-
Method Detail
-
getTag
public Tag 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.
-
getTemplate
public static UTF8String.Template getTemplate()
Returns a singleton instance of UTF8String.Template. This is more efficient than creating a new UTF8String.Template.- Returns:
- Template.
-
-