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