public String signDocument(String xml)
public String[] signDocument(String xml)
    public String signDocument(String xml)            throws RemoteException {        if (xml == null)           throw new RemoteException("xml parameter is null");        try {            return signatureManager.signDocument(xml);        } catch (SignatureManagerException e) {            throw new RemoteException("Error", e);        }    }