@Test public void testSignatureWithInconsistentAggregationTimesReturnsFailedStatus_Ok() throws Exception { RuleResult result = rule.verify(build(TestUtil.loadSignature(SIGNATURE_AGGREGATION_HASH_CHAIN_INVALID_AGGREGATION_TIMES))); Assert.assertNotNull(result); Assert.assertEquals(result.getResultCode(), VerificationResultCode.FAIL); Assert.assertEquals(result.getErrorCode(), VerificationErrorCode.INT_02); }
public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_02; }
AggregationHashChainTimeConsistencyRule extends BaseRule { public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_02; } }
AggregationHashChainTimeConsistencyRule extends BaseRule { public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_02; }  }
AggregationHashChainTimeConsistencyRule extends BaseRule { public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_02; }  VerificationResultCode verifySignature(VerificationContext context); VerificationErrorCode getErrorCode(); }
AggregationHashChainTimeConsistencyRule extends BaseRule { public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_02; }  VerificationResultCode verifySignature(VerificationContext context); VerificationErrorCode getErrorCode();  }