org.bouncycastle.asn1
public class DERVisibleString extends ASN1Object implements DERString
Constructor Summary | |
---|---|
DERVisibleString(byte[] string)
basic constructor - byte encoded string. | |
DERVisibleString(String string)
basic constructor |
Method Summary | |
---|---|
static DERVisibleString | getInstance(Object obj)
return a Visible String from the passed in object.
|
static DERVisibleString | getInstance(ASN1TaggedObject obj, boolean explicit)
return a Visible String from a tagged object.
|
byte[] | getOctets() |
String | getString() |
int | hashCode() |
String | toString() |
Throws: IllegalArgumentException if the object cannot be converted.
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.