@Test public void testMetadataWithMissingPaddingNotMistakenForHashImprint() throws Exception { RuleResult result = rule.verify(build(TestUtil.loadSignature(SIGNATURE_METADATA_MISSING_PADDING))); Assert.assertNotNull(result); Assert.assertEquals(result.getResultCode(), VerificationResultCode.OK); Assert.assertEquals(rule.getErrorCode(), VerificationErrorCode.INT_11); }
public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_11; }
AggregationHashChainLinkMetadataRule extends BaseRule { public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_11; } }
AggregationHashChainLinkMetadataRule extends BaseRule { public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_11; }  }
AggregationHashChainLinkMetadataRule extends BaseRule { public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_11; }  VerificationResultCode verifySignature(VerificationContext context); VerificationErrorCode getErrorCode(); }
AggregationHashChainLinkMetadataRule extends BaseRule { public VerificationErrorCode getErrorCode() { return VerificationErrorCode.INT_11; }  VerificationResultCode verifySignature(VerificationContext context); VerificationErrorCode getErrorCode();  }