ASN1Template
public static class PrintableString.Template extends CharacterString.Template implements ASN1Template
Constructor | Description |
---|---|
Template() |
Modifier and Type | Method | Description |
---|---|---|
protected CharacterString |
generateInstance(char[] chars) |
Must be overridden to create an instance of the subclass given
a char array.
|
protected org.mozilla.jss.asn1.CharConverter |
getCharConverter() |
Must be overridden to return the correct character converter
for the subclass.
|
protected Tag |
getTag() |
Must be overridden to return the tag for the subclass.
|
boolean |
tagMatch(Tag tag) |
Determines whether the given tag will satisfy this template.
|
protected java.lang.String |
typeName() |
Must be overridden to provide the name of the subclass, for including
into error messages.
|
decode, decode
decode, decode
protected Tag getTag()
CharacterString.Template
getTag
in class CharacterString.Template
public boolean tagMatch(Tag tag)
ASN1Template
tagMatch
in interface ASN1Template
tagMatch
in class CharacterString.Template
tag
- Tag.protected org.mozilla.jss.asn1.CharConverter getCharConverter()
CharacterString.Template
getCharConverter
in class CharacterString.Template
protected CharacterString generateInstance(char[] chars) throws java.io.CharConversionException
CharacterString.Template
generateInstance
in class CharacterString.Template
chars
- Input characters.java.io.CharConversionException
- If an error occurred.protected java.lang.String typeName()
CharacterString.Template
typeName
in class CharacterString.Template