@Test public void simpleDigestMismatch() throws Exception { LOG.info("simpleDigestMismatch()"); thrown.expectErrorSuffix(X_INVALID_HASH_CHAIN_RESULT); Resolver resolver = new Resolver( HASH_CHAIN, "hc-verifier1-hashchain.xml"); Map<String, DigestValue> inputs = makeInputs( MESSAGE, "hc-verifier1-hashchain.xml"); HashChainVerifier.verify( load("hc-verifier1-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);  }