DERBMPString (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.asn1

## Class DERBMPString

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.asn1.ASN1Primitive
    - - org.bouncycastle.asn1.ASN1BMPString
      - - org.bouncycastle.asn1.DERBMPString

- All Implemented Interfaces:
    ASN1Encodable, ASN1String, Encodable

      public class DERBMPString
      extends ASN1BMPString

  DER BMPString object encodes BMP (Basic Multilingual Plane) subset (aka UCS-2) of UNICODE (ISO 10646) characters in codepoints 0 to 65535.

  At ISO-10646:2011 the term "BMP" has been withdrawn, and replaced by term "UCS-2".

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DERBMPString(java.lang.String string)` Basic constructor

  - ### Method Summary

    - ### Methods inherited from class org.bouncycastle.asn1.ASN1BMPString

      `getInstance, getInstance, getString, getTagged, hashCode, toString`

    - ### Methods inherited from class org.bouncycastle.asn1.ASN1Primitive

      `encodeTo, encodeTo, equals, equals, equals, fromByteArray, fromStream, toASN1Primitive`

    - ### Methods inherited from class org.bouncycastle.asn1.ASN1Object

      `getEncoded, getEncoded, hasEncodedTagValue`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### DERBMPString

          public DERBMPString(java.lang.String string)

      Basic constructor
      Parameters:
        `string` - a String to wrap as a BMP STRING.