public class DERVisibleString extends ASN1VisibleString
Explicit character set escape sequences are not allowed.
Constructor and Description |
---|
DERVisibleString(java.lang.String string)
Basic constructor
|
Modifier and Type | Method and Description |
---|---|
static DERVisibleString |
getInstance(ASN1TaggedObject obj,
boolean explicit)
Deprecated.
|
static DERVisibleString |
getInstance(java.lang.Object obj)
Deprecated.
Use
ASN1VisibleString.getInstance(Object) instead. |
getOctets, getString, hashCode, toString
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue
public DERVisibleString(java.lang.String string)
string
- the string to be carried in the VisibleString object,public static DERVisibleString getInstance(java.lang.Object obj)
ASN1VisibleString.getInstance(Object)
instead.obj
- a DERVisibleString or an object that can be converted into one.java.lang.IllegalArgumentException
- if the object cannot be converted.public static DERVisibleString getInstance(ASN1TaggedObject obj, boolean explicit)
ASN1VisibleString.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.