Class NullType

  • All Implemented Interfaces:
    DEREncoder

    public class NullType
    extends AbstractDERType
    implements DEREncoder
    Convenience type for a tag with a null value.
    Author:
    Middleware Services
    • Constructor Summary

      Constructors 
      Constructor Description
      NullType​(DERTag tag)
      Creates a new null type.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] encode()
      Encode this object into it's DER type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NullType

        public NullType​(DERTag tag)
        Creates a new null type.
        Parameters:
        tag - der tag associated with this type
    • Method Detail

      • encode

        public byte[] encode()
        Description copied from interface: DEREncoder
        Encode this object into it's DER type.
        Specified by:
        encode in interface DEREncoder
        Returns:
        DER encoded object