1 17 18 package org.apache.geronimo.util.asn1; 19 20 import java.io.IOException ; 21 22 25 public class BERNull 26 extends DERNull 27 { 28 public BERNull() 29 { 30 } 31 32 void encode( 33 DEROutputStream out) 34 throws IOException  35 { 36 if (out instanceof ASN1OutputStream || out instanceof BEROutputStream) 37 { 38 out.write(NULL); 39 } 40 else 41 { 42 super.encode(out); 43 } 44 } 45 } 46 | Popular Tags |