if (encoding.equals(DER)) { ByteArrayOutputStream   bOut = new ByteArrayOutputStream(); DEROutputStream         dOut = new DEROutputStream(bOut);  dOut.writeObject(this);  return bOut.toByteArray(); }
ByteArrayOutputStream   bOut = new ByteArrayOutputStream(); ASN1OutputStream        aOut = new ASN1OutputStream(bOut);
    public byte[] getEncoded(        String encoding)         throws IOException    {        if (encoding.equals(DER))        {            ByteArrayOutputStream   bOut = new ByteArrayOutputStream();            DEROutputStream         dOut = new DEROutputStream(bOut);                        dOut.writeObject(this);                        return bOut.toByteArray();        }                return this.getEncoded();    }