public final class ASN1ObjectDescriptor extends ASN1Primitive
| Constructor and Description |
|---|
ASN1ObjectDescriptor(ASN1GraphicString baseGraphicString) |
| Modifier and Type | Method and Description |
|---|---|
ASN1GraphicString |
getBaseGraphicString() |
static ASN1ObjectDescriptor |
getInstance(ASN1TaggedObject taggedObject,
boolean declaredExplicit)
Return an ObjectDescriptor from a tagged object.
|
static ASN1ObjectDescriptor |
getInstance(java.lang.Object obj)
Return an ObjectDescriptor from the passed in object.
|
static ASN1ObjectDescriptor |
getTagged(ASN1TaggedObject taggedObject,
boolean declaredExplicit) |
int |
hashCode() |
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1PrimitivegetEncoded, getEncoded, hasEncodedTagValuepublic ASN1ObjectDescriptor(ASN1GraphicString baseGraphicString)
public static ASN1ObjectDescriptor getInstance(java.lang.Object obj)
obj - an ASN1ObjectDescriptor or an object that can be converted into one.java.lang.IllegalArgumentException - if the object cannot be converted.public static ASN1ObjectDescriptor getInstance(ASN1TaggedObject taggedObject, boolean declaredExplicit)
taggedObject - the tagged object holding the object we want.declaredExplicit - true if the object is meant to be explicitly tagged,
false otherwise.java.lang.IllegalArgumentException - if the tagged object cannot be converted.public static ASN1ObjectDescriptor getTagged(ASN1TaggedObject taggedObject, boolean declaredExplicit)
public ASN1GraphicString getBaseGraphicString()
public int hashCode()
hashCode in class ASN1Primitive