1 package com.lowagie.bc.asn1; 2 3 import java.io.IOException; 4 5 8 public class DERNull 9 extends ASN1Null 10 { 11 byte[] zeroBytes = new byte[0]; 12 13 public DERNull() 14 { 15 } 16 17 void encode( 18 DEROutputStream out) 19 throws IOException 20 { 21 out.writeEncoded(NULL, zeroBytes); 22 } 23 24 public boolean equals( 25 Object o) 26 { 27 if ((o == null) || !(o instanceof DERNull)) 28 { 29 return false; 30 } 31 32 return true; 33 } 34 } 35 | Popular Tags |