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