Top Description Fields Constructors Methods
org.bouncycastle.asn1

public Class DERNull

extends ASN1Null
Class Inheritance
Imports
java.io.IOException

An ASN.1 DER NULL object.

Preferably use the constant: DERNull.INSTANCE.

Field Summary

Modifier and TypeField and Description
public static final DERNull
private static final byte[]
Inherited from org.bouncycastle.asn1.ASN1Null:
TYPE

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv void
encode(ASN1OutputStream out, boolean withTag)

Implements abstract org.bouncycastle.asn1.ASN1Primitive.encode.

pack-priv boolean
encodeConstructed()

Implements abstract org.bouncycastle.asn1.ASN1Primitive.encodeConstructed.

Return true if this objected is a CONSTRUCTED one, false otherwise.
pack-priv int
Inherited from org.bouncycastle.asn1.ASN1Null:
asn1EqualscreatePrimitivegetInstancegetInstancehashCodetoString

Field Detail

INSTANCEback to summary
public static final DERNull INSTANCE
zeroBytesback to summary
private static final byte[] zeroBytes

Constructor Detail

DERNullback to summary
private DERNull()

Method Detail

encodeback to summary
pack-priv void encode(ASN1OutputStream out, boolean withTag) throws IOException

Implements abstract org.bouncycastle.asn1.ASN1Primitive.encode.

encodeConstructedback to summary
pack-priv boolean encodeConstructed()

Implements abstract org.bouncycastle.asn1.ASN1Primitive.encodeConstructed.

Doc from org.bouncycastle.asn1.ASN1Primitive.encodeConstructed.

Return true if this objected is a CONSTRUCTED one, false otherwise.

Returns:boolean

true if CONSTRUCTED bit set on object's tag, false otherwise.

encodedLengthback to summary
pack-priv int encodedLength(boolean withTag)

Implements abstract org.bouncycastle.asn1.ASN1Primitive.encodedLength.