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