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 explicit)
Return an ObjectDescriptor from a tagged object.
|
static ASN1ObjectDescriptor |
getInstance(java.lang.Object obj)
Return an ObjectDescriptor from the passed in object.
|
int |
hashCode() |
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue
public 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 explicit)
taggedObject
- the tagged object holding the object we want.explicit
- true if the object is meant to be explicitly tagged,
false otherwise.java.lang.IllegalArgumentException
- if the tagged object cannot be converted.public ASN1GraphicString getBaseGraphicString()
public int hashCode()
hashCode
in class ASN1Primitive