String result = manager.verifyTreaty(buf.toString(),true);
String[] result = manager.verifyTreaty(buf.toString(),true);
    public static void main(String[] args)        throws Exception {        // read treaty file        FileInputStream fin = new FileInputStream("mytreaty.xml.signed.xml");        BufferedReader reader = new BufferedReader(new InputStreamReader(fin));        String line = null;        StringBuffer buf = new StringBuffer();        while ((line=reader.readLine()) != null) {            buf.append(line).append("\r\n");        }        SecurityManagerImpl manager = new SecurityManagerImpl(new FakeDataSource(),new SignatureManager());        String result = manager.verifyTreaty(buf.toString(),true);        Util.debug(result);    }