public class DERUTF8String extends ASN1UTF8String
Constructor and Description |
---|
DERUTF8String(java.lang.String string)
Basic constructor
|
Modifier and Type | Method and Description |
---|---|
static DERUTF8String |
getInstance(ASN1TaggedObject obj,
boolean explicit)
Deprecated.
|
static DERUTF8String |
getInstance(java.lang.Object obj)
Deprecated.
Use
ASN1UTF8String.getInstance(Object) instead. |
getString, hashCode, toString
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue
public DERUTF8String(java.lang.String string)
string
- the string to be carried in the UTF8String object,public static DERUTF8String getInstance(java.lang.Object obj)
ASN1UTF8String.getInstance(Object)
instead.obj
- a DERUTF8String or an object that can be converted into one.java.lang.IllegalArgumentException
- if the object cannot be converted.public static DERUTF8String getInstance(ASN1TaggedObject obj, boolean explicit)
ASN1UTF8String.getInstance(ASN1TaggedObject, boolean)
instead.obj
- the tagged object holding the object we wantexplicit
- true if the object is meant to be explicitly tagged false
otherwise.java.lang.IllegalArgumentException
- if the tagged object cannot be converted.