The ASN.1 NULL type is converted into to a Java class that extends the Asn1Null run-time class. This base class does not contain a public member variable for a value because the NULL type has no associated value.
The following shows the basic mapping from ASN.1 type to Java class definition:
ASN.1 Production
<name> ::= NULL
Generated Java class
public class <name> extends Asn1Null { public <name> () { super(); } }
This shows the class generated for a simple NULL assignment. If a tagged type is specified, specific encode and decode methods will be generated as well.