@Test public void testSignatureVerificationWithDeprecatedAlgorithm() throws Exception { RuleResult result = rule.verify(build(TestUtil.loadSignature(SIGNATURE_AGGREGATION_HASH_CHAIN_DEPRECATED_INPUT_ALGORITHM))); Assert.assertEquals(result.getResultCode(), VerificationResultCode.FAIL); Assert.assertEquals(result.getErrorCode(), VerificationErrorCode.INT_13); }
VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_13; }
SignatureInputHashAlgorithmDeprecatedRule extends BaseRule { VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_13; } }
SignatureInputHashAlgorithmDeprecatedRule extends BaseRule { VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_13; }  }
SignatureInputHashAlgorithmDeprecatedRule extends BaseRule { VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_13; }   }
SignatureInputHashAlgorithmDeprecatedRule extends BaseRule { VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_13; }    }