Package io.anyline.nfc.bouncycastle.asn1
Class ASN1ObjectDescriptor
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable,io.anyline.nfc.bouncycastle.util.Encodable
public final class ASN1ObjectDescriptor extends ASN1Primitive
-
-
Field Summary
Fields Modifier and Type Field Description public final ASN1GraphicStringbaseGraphicString
-
Constructor Summary
Constructors Constructor Description ASN1ObjectDescriptor(ASN1GraphicString baseGraphicString)
-
Method Summary
Modifier and Type Method Description ASN1GraphicStringgetBaseGraphicString()static ASN1ObjectDescriptorgetInstance(Object obj)Return an ObjectDescriptor from the passed in object. static ASN1ObjectDescriptorgetInstance(ASN1TaggedObject taggedObject, boolean explicit)Return an ObjectDescriptor from a tagged object. inthashCode()-
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Primitive
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive -
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ASN1ObjectDescriptor
ASN1ObjectDescriptor(ASN1GraphicString baseGraphicString)
-
-
Method Detail
-
getBaseGraphicString
ASN1GraphicString getBaseGraphicString()
-
getInstance
static ASN1ObjectDescriptor getInstance(Object obj)
Return an ObjectDescriptor from the passed in object.
- Parameters:
obj- an ASN1ObjectDescriptor or an object that can be converted into one.- Returns:
an ASN1ObjectDescriptor instance, or null.
-
getInstance
static ASN1ObjectDescriptor getInstance(ASN1TaggedObject taggedObject, boolean explicit)
Return an ObjectDescriptor from a tagged object.
- Parameters:
taggedObject- the tagged object holding the object we want.explicit- true if the object is meant to be explicitly tagged, false otherwise.- Returns:
an ASN1ObjectDescriptor instance, or null.
-
hashCode
int hashCode()
-
-
-
-