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