public class DERUniversalString extends ASN1UniversalString
| Constructor and Description |
|---|
DERUniversalString(byte[] string)
Basic constructor - byte encoded string.
|
| Modifier and Type | Method and Description |
|---|---|
static DERUniversalString |
getInstance(ASN1TaggedObject obj,
boolean explicit)
Deprecated.
|
static DERUniversalString |
getInstance(java.lang.Object obj)
Deprecated.
Use
ASN1UniversalString.getInstance(Object) instead. |
getOctets, getString, hashCode, toStringencodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1PrimitivegetEncoded, getEncoded, hasEncodedTagValuepublic DERUniversalString(byte[] string)
string - the byte encoding of the string to be carried in the UniversalString object,public static DERUniversalString getInstance(java.lang.Object obj)
ASN1UniversalString.getInstance(Object) instead.obj - a DERUniversalString or an object that can be converted into one.java.lang.IllegalArgumentException - if the object cannot be converted.public static DERUniversalString getInstance(ASN1TaggedObject obj, boolean explicit)
ASN1UniversalString.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.