public void encode(OutputStream out) throws IOException {
  DerOutputStream tmp=new DerOutputStream();
  dnName.encode(tmp);
  out.write(tmp.toByteArray());
}

public void encode ( OutputStream out ) throws IOException { DerOutputStream tmp = new DerOutputStream ( ) ; dnName . encode ( tmp ) ; out . write ( tmp . toByteArray ( ) ) ; }
encode the name in der form to the stream .
