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