Class NullType

All Implemented Interfaces:
DEREncoder

public class NullType extends AbstractDERType implements DEREncoder
Convenience type for a tag with a null value.
  • Constructor Details

    • NullType

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

    • 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