@Test
public void testProgressiveSignatureVerification() throws Exception
{

    Signer signer = factory.getInstance(true, privateKey);
    progressiveUpdateSignature(signer, text, 17);
    byte[] signature = signer.generate();
    Signer verifier = factory.getInstance(true, publicKey);
    progressiveUpdateSignature(verifier, text, 15);
    assertTrue(verifier.verify(signature));
}