Q: Is there a way to turn off digital signature validity when rendering a PDF page in Qoppa’s PDF components and libraries? Our application will perform our own internal signature validation.

A: Yes, it is possible by simply making a call to the following static method (before loading the signed PDF):

PDFRenderHints.setRenderSignatureVerification(false);

This method sets the value of the flag that controls whether signature verification will be rendered. When this flag is true, the renderer will show an icon on the signature field representing the results of the signature verification (green check box for valid, red ‘X’ for invalid, etc…).

There is another static method that can set the flag for showing or hiding the signature tag (“Sign Here”) for empty signature fields:

PDFRenderHints.setRenderSignatureTag(false);