Package org.mozilla.jss.asn1
Class PrintableString
- java.lang.Object
-
- org.mozilla.jss.asn1.CharacterString
-
- org.mozilla.jss.asn1.PrintableString
-
- All Implemented Interfaces:
ASN1Value
public class PrintableString extends CharacterString
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PrintableString.Template
-
Constructor Summary
Constructors Constructor Description PrintableString(char[] chars)
PrintableString(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 PrintableString.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
-
-
-
-
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 PrintableString.Template getTemplate()
Returns a singleton instance of the decoding template for this class.- Returns:
- The template.
-
-