Package io.anyline.nfc.bouncycastle.asn1
Class ASN1Null
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
public abstract class ASN1Null extends ASN1Primitive
A NULL object - use DERNull.INSTANCE for populating structures.
-
-
Method Summary
Modifier and Type Method Description static ASN1Null
getInstance(Object o)
Return an instance of ASN.1 NULL from the passed in object. static ASN1Null
getInstance(ASN1TaggedObject taggedObject, boolean explicit)
int
hashCode()
String
toString()
-
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
-
-
Method Detail
-
getInstance
static ASN1Null getInstance(Object o)
Return an instance of ASN.1 NULL from the passed in object.
Accepted inputs:
- null → null
- ASN1Null object
- a byte[] containing ASN.1 NULL object
- Parameters:
o
- object to be converted.- Returns:
an instance of ASN1Null, or null.
-
getInstance
static ASN1Null getInstance(ASN1TaggedObject taggedObject, boolean explicit)
-
hashCode
int hashCode()
-
-
-
-