org.mozilla.jss.asn1

Class BMPString

public class BMPString extends CharacterString implements ASN1Value

The ASN.1 type BMPString. BMPStrings use the Unicode character set. They are encoded and decoded in big-endian format using two octets.
Nested Class Summary
static classBMPString.Template
Constructor Summary
BMPString(char[] chars)
Creates a new BMPString from an array of Java characters.
BMPString(String s)
Creates a new BMPString from a Java String.
Method Summary
TaggetTag()
static BMPString.TemplategetTemplate()
Returns a singleton instance of BMPString.Template.

Constructor Detail

BMPString

public BMPString(char[] chars)
Creates a new BMPString from an array of Java characters.

BMPString

public BMPString(String s)
Creates a new BMPString from a Java String.

Method Detail

getTag

public Tag getTag()

getTemplate

public static BMPString.Template getTemplate()
Returns a singleton instance of BMPString.Template. This is more efficient than creating a new BMPString.Template.