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