title: How to display different images based on validity of digital signature using pdfbox api?
body: <p>Today we can see that new PDVisibleSignDesigner object can be created by giving an image as input, which will be later displayed in the PDF document.</p>
  
  <pre><code>new PDVisibleSignDesigner(String filename, InputStream imageStream, int page)
  </code></pre>
  
  <p>If one passes green checkmark image (Ref: imageStream param), that makes perfect sense when your signature is valid. But today, even if your signature is not valid, it displays the same image. But logically, one would like to display different image, for e.g. some red cross mark.</p>
  
  <p>How can we accomplish it using pdfbox api (I am using version 2.0.8) ?</p>