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