@Test public void simpleTwoHashChains() throws Exception { LOG.info("simpleTwoHashChains()"); Resolver resolver = new Resolver( HASH_CHAIN, "hc-verifier4-hashchain1.xml", "/hashchain2.xml", "hc-verifier4-hashchain2.xml", MESSAGE, "hc-verifier4-message.xml"); Map<String, DigestValue> inputs = makeInputs( MESSAGE, null); HashChainVerifier.verify( load("hc-verifier4-hashchainresult.xml"), resolver, inputs); }
public static void verify(InputStream hashChainResultXml, HashChainReferenceResolver referenceResolver, Map<String, DigestValue> inputs) throws Exception { new HashChainVerifier(hashChainResultXml, referenceResolver, inputs).verify(); }
HashChainVerifier { public static void verify(InputStream hashChainResultXml, HashChainReferenceResolver referenceResolver, Map<String, DigestValue> inputs) throws Exception { new HashChainVerifier(hashChainResultXml, referenceResolver, inputs).verify(); } }
HashChainVerifier { public static void verify(InputStream hashChainResultXml, HashChainReferenceResolver referenceResolver, Map<String, DigestValue> inputs) throws Exception { new HashChainVerifier(hashChainResultXml, referenceResolver, inputs).verify(); } private  HashChainVerifier(InputStream hashChainResultXml, HashChainReferenceResolver referenceResolver,
            Map<String, DigestValue> inputs); }
HashChainVerifier { public static void verify(InputStream hashChainResultXml, HashChainReferenceResolver referenceResolver, Map<String, DigestValue> inputs) throws Exception { new HashChainVerifier(hashChainResultXml, referenceResolver, inputs).verify(); } private  HashChainVerifier(InputStream hashChainResultXml, HashChainReferenceResolver referenceResolver,
            Map<String, DigestValue> inputs); static void verify(InputStream hashChainResultXml, HashChainReferenceResolver referenceResolver,
            Map<String, DigestValue> inputs); }
HashChainVerifier { public static void verify(InputStream hashChainResultXml, HashChainReferenceResolver referenceResolver, Map<String, DigestValue> inputs) throws Exception { new HashChainVerifier(hashChainResultXml, referenceResolver, inputs).verify(); } private  HashChainVerifier(InputStream hashChainResultXml, HashChainReferenceResolver referenceResolver,
            Map<String, DigestValue> inputs); static void verify(InputStream hashChainResultXml, HashChainReferenceResolver referenceResolver,
            Map<String, DigestValue> inputs);  }