org.bouncycastle.asn1
public class DERT61String extends ASN1Object implements DERString
Constructor Summary | |
---|---|
DERT61String(byte[] string)
basic constructor - with bytes. | |
DERT61String(String string)
basic constructor - with string. |
Method Summary | |
---|---|
static DERT61String | getInstance(Object obj)
return a T61 string from the passed in object.
|
static DERT61String | getInstance(ASN1TaggedObject obj, boolean explicit)
return an T61 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.