Class BMPString

All Implemented Interfaces:
ASN1Value

public class BMPString extends CharacterString
The ASN.1 type BMPString. BMPStrings use the Unicode character set. They are encoded and decoded in big-endian format using two octets.
  • Field Details

  • Constructor Details

  • Method Details

    • getCharConverter

      CharConverter getCharConverter()
      Returns the conversion object for converting between an encoded byte array an an array of Java characters.
      Specified by:
      getCharConverter in class CharacterString
      Returns:
      Character converter.
    • 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 interface ASN1Value
      Specified by:
      getTag in class CharacterString
      Returns:
      Base tag.
    • getTemplate

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