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