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 bcprov-jdk15to18 Show documentation
Show all versions of bcprov-jdk15to18 Show documentation
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5 to JDK 1.8.
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);
}
}