org.bouncycastle.asn1.DERBMPString Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polaris-all Show documentation
Show all versions of polaris-all Show documentation
All in one project for polaris-java
package org.bouncycastle.asn1;
/**
* 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".
*
*/
public class DERBMPString
extends ASN1BMPString
{
/**
* Basic constructor
* @param string a String to wrap as a BMP STRING.
*/
public DERBMPString(String string)
{
super(string);
}
/**
* Basic constructor - byte encoded string.
* @param contents the encoded BMP STRING to wrap.
*/
DERBMPString(byte[] contents)
{
super(contents);
}
DERBMPString(char[] string)
{
super(string);
}
}