FileDocCategorySizeDatePackage
ASN1Encodable.javaAPI DocAzureus 3.0.3.4893Tue Jun 08 05:12:56 BST 2004org.bouncycastle.asn1

ASN1Encodable

public abstract class ASN1Encodable extends Object implements DEREncodable

Fields Summary
Constructors Summary
Methods Summary
public booleanequals(java.lang.Object o)

        if ((o == null) || !(o instanceof DEREncodable))
        {
            return false;
        }

        DEREncodable other = (DEREncodable)o;

        return this.getDERObject().equals(other.getDERObject());
    
public DERObjectgetDERObject()

        return this.toASN1Object();
    
public byte[]getEncoded()

		ByteArrayOutputStream	bOut = new ByteArrayOutputStream();
		ASN1OutputStream		aOut = new ASN1OutputStream(bOut);
		
		aOut.writeObject(this);
		
		return bOut.toByteArray();
	
public inthashCode()

        return this.getDERObject().hashCode();
    
public abstract DERObjecttoASN1Object()