public class

DERBMPString

extends ASN1Object
implements DERString
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.DERObject
       ↳ org.bouncycastle.asn1.ASN1Object
         ↳ org.bouncycastle.asn1.DERBMPString

Class Overview

DER BMPString object.

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
From interface org.bouncycastle.asn1.DERTags
Public Constructors
DERBMPString(byte[] string)
basic constructor - byte encoded string.
DERBMPString(String string)
basic constructor
Public Methods
static DERBMPString getInstance(ASN1TaggedObject obj, boolean explicit)
return a BMP String from a tagged object.
static DERBMPString getInstance(Object obj)
return a BMP String from the given object.
String getString()
int hashCode()
String toString()
Protected Methods
boolean asn1Equals(DERObject o)
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Object
From class org.bouncycastle.asn1.DERObject
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.ASN1String
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public DERBMPString (byte[] string)

basic constructor - byte encoded string.

public DERBMPString (String string)

basic constructor

Public Methods

public static DERBMPString getInstance (ASN1TaggedObject obj, boolean explicit)

return a BMP String from a tagged object.

Parameters
obj the tagged object holding the object we want
explicit true if the object is meant to be explicitly tagged false otherwise.
Throws
IllegalArgumentException if the tagged object cannot be converted.

public static DERBMPString getInstance (Object obj)

return a BMP String from the given object.

Parameters
obj the object we want converted.
Throws
IllegalArgumentException if the object cannot be converted.

public String getString ()

public int hashCode ()

public String toString ()

Protected Methods

protected boolean asn1Equals (DERObject o)