292293294295296297298299300301302
} eng.update(msg4[0]); eng.update(msg4, 1, msg4.length - 1); if (!eng.verifySignature(sig4)) { return new SimpleTestResult(false, "ISO9796: failed ISO9796-2 verify Test 4"); } return new SimpleTestResult(true, "ISO9796: Okay");
336337338339340341342343344345346
} eng.update(msg5[0]); eng.update(msg5, 1, msg5.length - 1); if (!eng.verifySignature(sig5)) { return new SimpleTestResult(false, "ISO9796: failed ISO9796-2 verify Test 5"); } return new SimpleTestResult(true, "ISO9796: Okay");