com.lowagie.bc.asn1

Class ASN1Encodable

Implemented Interfaces:
DEREncodable

public abstract class ASN1Encodable
extends java.lang.Object
implements DEREncodable

Abstract Syntax Notation One (ASN.1) is a formal language for abstractly describing messages to be exchanged between distributed computer systems.

Method Summary

boolean
equals(Object o)
DERObject
getDERObject()
byte[]
getEncoded()
Encodes the ASN1Encodable object.
int
hashCode()
abstract DERObject
toASN1Object()
Abstract method that returns the object as an ASN1 object.

Method Details

equals

public boolean equals(Object o)
See Also:
java.lang.Object.equals(java.lang.Object)

getDERObject

public DERObject getDERObject()
Specified by:
getDERObject in interface DEREncodable

getEncoded

public byte[] getEncoded()
            throws IOException
Encodes the ASN1Encodable object.
Returns:
an encoded bytearray

hashCode

public int hashCode()
See Also:
java.lang.Object.hashCode()

toASN1Object

public abstract DERObject toASN1Object()
Abstract method that returns the object as an ASN1 object.
Returns:
an encodable object