|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ASN1Primitive
org.bouncycastle.asn1.ASN1BMPString
ASN.1 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".
Method Summary | |
static ASN1BMPString |
getInstance(ASN1TaggedObject taggedObject,
boolean explicit)
Return a BMP String from a tagged object. |
static ASN1BMPString |
getInstance(java.lang.Object obj)
Return a BMP String from the given object. |
java.lang.String |
getString()
Return a Java String representation of this STRING type's content. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class org.bouncycastle.asn1.ASN1Primitive |
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive |
Methods inherited from class org.bouncycastle.asn1.ASN1Object |
getEncoded, getEncoded, hasEncodedTagValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public static ASN1BMPString getInstance(java.lang.Object obj)
obj
- the object we want converted.
java.lang.IllegalArgumentException
- if the object cannot be converted.public static ASN1BMPString getInstance(ASN1TaggedObject taggedObject, boolean explicit)
taggedObject
- 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.public final java.lang.String getString()
ASN1String
getString
in interface ASN1String
public java.lang.String toString()
public final int hashCode()
hashCode
in class ASN1Primitive
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |