ca = (CA) new X509CA(data, this);
ca = new X509CA(data, this);
    public CA getCA() throws java.io.UnsupportedEncodingException{      if(ca == null){                java.beans.XMLDecoder decoder = new  java.beans.XMLDecoder(new java.io.ByteArrayInputStream(getData().getBytes("UTF8")));        HashMap data = (HashMap) decoder.readObject();        decoder.close();                     switch(((Integer)(data.get(CA.CATYPE))).intValue()){            case CAInfo.CATYPE_X509:              ca = (CA) new X509CA(data, this);              break;        }            }                  return ca;                  }