@Test public void testSignatureWithCorrectAggregationChainIndexReturnsOkStatus_Ok() throws Exception { RuleResult result = rule.verify(build(TestUtil.loadSignature(SIGNATURE_2017_03_14))); Assert.assertEquals(result.getResultCode(), VerificationResultCode.OK); Assert.assertNull(result.getErrorCode()); }
public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_10; }
AggregationHashChainIndexConsistencyRule extends BaseRule { public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_10; } }
AggregationHashChainIndexConsistencyRule extends BaseRule { public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_10; }  }
AggregationHashChainIndexConsistencyRule extends BaseRule { public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_10; }  VerificationResultCode verifySignature(VerificationContext context); VerificationErrorCode getErrorCode(); }
AggregationHashChainIndexConsistencyRule extends BaseRule { public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_10; }  VerificationResultCode verifySignature(VerificationContext context); VerificationErrorCode getErrorCode();  }