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-lts8on Show documentation
Show all versions of bcprov-lts8on Show documentation
The Long Term Stable (LTS) Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains the JCA/JCE provider and low-level API for the BC LTS version 2.73.7 for Java 8 and later.
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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy