At ISO-10646:2011 the term "BMP" has been withdrawn, and replaced by term "UCS-2".
| Modifier and Type | Field and Description |
|---|---|
| private final char[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | asn1Equals(ASN1Primitive o)
Implements abstract org. |
| pack-priv void | |
| pack-priv int | encodedLength()
Implements abstract org. |
| public static DERBMPString | Returns: a DERBMPString instance, or null.the object we want converted. obj)Return a BMP String from the given object. |
| public static DERBMPString | Returns: a DERBMPString instance.the tagged object holding the object we want obj, boolean true if the object is meant to be explicitly
tagged false otherwise. explicit)Return a BMP String from a tagged object. |
| public String | getString()
Implements org. |
| public int | hashCode()
Implements abstract org. |
| pack-priv boolean | isConstructed()
Implements abstract org. |
| public String |
| string | back to summary |
|---|---|
| private final char[] string | |
| DERBMPString | back to summary |
|---|---|
| pack-priv DERBMPString(byte[] string) Basic constructor - byte encoded string.
| |
| DERBMPString | back to summary |
|---|---|
| pack-priv DERBMPString(char[] string) | |
| DERBMPString | back to summary |
|---|---|
| public DERBMPString(String string) Basic constructor
| |
| asn1Equals | back to summary |
|---|---|
| protected boolean asn1Equals(ASN1Primitive o) Implements abstract org. Doc from org. Equality (similarity) comparison for two ASN1Primitive objects. | |
| encode | back to summary |
|---|---|
| pack-priv void encode(ASN1OutputStream out) throws IOException Implements abstract org. | |
| encodedLength | back to summary |
|---|---|
| pack-priv int encodedLength() Implements abstract org. Doc from org. Return the length of the encoding this object will produce.
| |
| getInstance | back to summary |
|---|---|
| public static DERBMPString getInstance(Object obj) Return a BMP String from the given object.
| |
| getInstance | back to summary |
|---|---|
| public static DERBMPString getInstance(ASN1TaggedObject obj, boolean explicit) Return a BMP String from a tagged object.
| |
| getString | back to summary |
|---|---|
| public String getString() Implements org. Doc from org. Return a Java String representation of this STRING type's content.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract org. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isConstructed | back to summary |
|---|---|
| pack-priv boolean isConstructed() Implements abstract org. Doc from org. Return true if this objected is a CONSTRUCTED one, false otherwise.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |