ASN1Value
public class BMPString extends CharacterString implements ASN1Value
Modifier and Type | Class | Description |
---|---|---|
static class |
BMPString.Template |
Constructor | Description |
---|---|
BMPString(char[] chars) |
Creates a new BMPString from an array of Java characters.
|
BMPString(java.lang.String s) |
Creates a new BMPString from a Java String.
|
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 BMPString.Template |
getTemplate() |
Returns a singleton instance of BMPString.Template.
|
encode, encode, toCharArray, toString
public BMPString(char[] chars) throws java.io.CharConversionException
chars
- Input characters.java.io.CharConversionException
- If an error occurred.public BMPString(java.lang.String s) throws java.io.CharConversionException
s
- Input string.java.io.CharConversionException
- If an error occurred.public Tag getTag()
ASN1Value
getTag
in interface ASN1Value
getTag
in class CharacterString
public static BMPString.Template getTemplate()