Home | History | Annotate | Download | only in asn1
      1 package org.bouncycastle.asn1;
      2 
      3 import java.io.IOException;
      4 
      5 public abstract class DERObject
      6     extends ASN1Encodable
      7     implements DERTags
      8 {
      9     public DERObject toASN1Object()
     10     {
     11         return this;
     12     }
     13 
     14     public abstract int hashCode();
     15 
     16     public abstract boolean equals(Object o);
     17 
     18     abstract void encode(DEROutputStream out)
     19         throws IOException;
     20 }
     21