@Test public void testSignatureVerificationWithValidSha1Algorithm_Ok() throws Exception { KSISignature signature = TestUtil.loadSignature(SIGNATURE_SHA1_INPUT_HASH_OK); RuleResult result = rule.verify(build(signature)); Assert.assertNotNull(result); Assert.assertEquals(result.getResultCode(), VerificationResultCode.OK); Assert.assertNull(result.getErrorCode()); }
VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_13; }
SignatureInputHashAlgorithmDeprecatedRule extends BaseRule { VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_13; } }
SignatureInputHashAlgorithmDeprecatedRule extends BaseRule { VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_13; }  }
SignatureInputHashAlgorithmDeprecatedRule extends BaseRule { VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_13; }   }
SignatureInputHashAlgorithmDeprecatedRule extends BaseRule { VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_13; }    }