public class DERBMPString extends ASN1BMPString
At ISO-10646:2011 the term "BMP" has been withdrawn, and replaced by term "UCS-2".
| Constructor and Description |
|---|
DERBMPString(java.lang.String string)
Basic constructor
|
| Modifier and Type | Method and Description |
|---|---|
static DERBMPString |
getInstance(ASN1TaggedObject obj,
boolean explicit)
Deprecated.
Use
ASN1BMPString.getInstance(ASN1TaggedObject, boolean)
instead. |
static DERBMPString |
getInstance(java.lang.Object obj)
Deprecated.
Use
ASN1BMPString.getInstance(Object) instead. |
getString, hashCode, toStringencodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1PrimitivegetEncoded, getEncoded, hasEncodedTagValuepublic DERBMPString(java.lang.String string)
string - a String to wrap as a BMP STRING.public static DERBMPString getInstance(java.lang.Object obj)
ASN1BMPString.getInstance(Object) instead.obj - the object we want converted.java.lang.IllegalArgumentException - if the object cannot be converted.public static DERBMPString getInstance(ASN1TaggedObject obj, boolean explicit)
ASN1BMPString.getInstance(ASN1TaggedObject, boolean)
instead.obj - the tagged object holding the object we wantexplicit - true if the object is meant to be explicitly tagged false
otherwise.java.lang.IllegalArgumentException - if the tagged object cannot be converted.