@Test public void testSignatureWithDeprecatedSha1AggregationChainsAlgorithms() throws Exception { RuleResult result = rule.verify(build(TestUtil.loadSignature(SIGNATURE_AGGREGATION_HASH_CHAIN_DEPRECATED_ALGORITHM))); Assert.assertEquals(result.getResultCode(), VerificationResultCode.FAIL); Assert.assertEquals(result.getErrorCode(), VerificationErrorCode.INT_15); }
public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_15; }
AggregationHashChainAlgorithmDeprecatedRule extends BaseRule { public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_15; } }
AggregationHashChainAlgorithmDeprecatedRule extends BaseRule { public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_15; }  }
AggregationHashChainAlgorithmDeprecatedRule extends BaseRule { public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_15; }  VerificationResultCode verifySignature(VerificationContext context); VerificationErrorCode getErrorCode(); }
AggregationHashChainAlgorithmDeprecatedRule extends BaseRule { public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_15; }  VerificationResultCode verifySignature(VerificationContext context); VerificationErrorCode getErrorCode();  }