Package org.ldaptive.asn1
Class NullType
- java.lang.Object
-
- org.ldaptive.asn1.AbstractDERType
-
- org.ldaptive.asn1.NullType
-
- All Implemented Interfaces:
DEREncoder
public class NullType extends AbstractDERType implements DEREncoder
Convenience type for a tag with a null value.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
encode()
Encode this object into its DER type.-
Methods inherited from class org.ldaptive.asn1.AbstractDERType
encode
-
-
-
-
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 its DER type.- Specified by:
encode
in interfaceDEREncoder
- Returns:
- DER encoded object
-
-