org.mozilla.jss.asn1

Class PrintableString

Implemented Interfaces:
ASN1Value

public class PrintableString
extends CharacterString
implements ASN1Value

Nested Class Summary

static class
PrintableString.Template

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

CharacterString.Template

Field Summary

static Form
FORM
static Tag
TAG

Constructor Summary

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

Method Summary

Tag
getTag()
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, getTag, toCharArray, toString

Field Details

FORM

public static final Form FORM


TAG

public static final Tag TAG

Constructor Details

PrintableString

public PrintableString(String s)
            throws CharConversionException


PrintableString

public PrintableString(char[] chars)
            throws CharConversionException

Method Details

getTag

public Tag getTag()
Specified by:
getTag in interface ASN1Value
Overrides:
getTag in interface CharacterString


getTemplate

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