1 19 20 package com.maverick.crypto.asn1; 21 22 import java.io.IOException ; 23 24 27 public abstract class ASN1Null 28 extends DERObject 29 { 30 public ASN1Null() 31 { 32 } 33 34 public int hashCode() 35 { 36 return 0; 37 } 38 39 public boolean equals( 40 Object o) 41 { 42 if ((o == null) || !(o instanceof ASN1Null)) 43 { 44 return false; 45 } 46 47 return true; 48 } 49 50 abstract void encode(DEROutputStream out) 51 throws IOException ; 52 } 53 | Popular Tags |