Class NullValue

java.lang.Object
net.aifusion.asn.AsnValue
net.aifusion.asn.NullValue

public final class NullValue extends AsnValue
ASN.1 Null value
Author:
Sharad Singhal
  • Constructor Details

    • NullValue

      public NullValue()
      ASN.1 Null Value
  • Method Details

    • getValue

      public Object getValue()
      Get the value of this Null value
      Returns:
      null
    • getEncodedValue

      public byte[] getEncodedValue()
      Description copied from class: AsnValue
      Get the encoded value for this ASN.1 value. This method should be implemented by subclasses to provide the encoded ASN.1 value
      Specified by:
      getEncodedValue in class AsnValue
      Returns:
      byte [] containing encoded value for this ASN.1 value (including tag, length, content)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object