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