title: pe:documentViewer not displaying digital signatures in PDF
body: <p>I have a multi-format document viewer, in which, for displaying PDFs, I use PF Extension's <code>p:documentViewer</code> component. The backing bean that supplies the StreamedContent of the PDF is phase rendered and is working as expected. However, though the PDF itself gets rendered fine, <strong>the viewer doesn't display the digital signatures in it</strong>. Do I need to add any extra configurations to the <code>p:documentViewer</code> while using it? Here is my usage of it:  </p>
  
  <pre><code>&lt;pe:documentViewer id="pdfVw" height="600" width="800" value="#{viewerController4.pdfDocumentStream}"&gt;                                           
      &lt;f:param name="id" value="#{viewerController4.currentDocId}" /&gt; 
  &lt;/pe:documentViewer&gt; 
  </code></pre>
  
  <p>The backing bean method serving the content of the PDF:  </p>
  
  <pre><code>public StreamedContent getPdfDocumentStream() throws IOException {
          FacesContext context = FacesContext.getCurrentInstance();
  
          if (context.getCurrentPhaseId() == PhaseId.RENDER_RESPONSE) {
              return new DefaultStreamedContent();
          } else {
              String id = context.getExternalContext().getRequestParameterMap().get("id");
              Doc doc = pdfDocMap.get(id);
  
              return new DefaultStreamedContent(new FileInputStream(new File(doc.getDocPath())), "application/pdf", doc.getDocName());
  
          }
      }
  </code></pre>
  
  <p>Incidentally, I also have a feature on the UI, to display thumbnails of documents -- in which, for PDFs, I extract the first page using PDFBox and convert that into a PNG image and display within a <code>p:graphicImage</code>. I observe, that in this image, the digital signature is displayed fine!</p>
  
  <p>I'm on SpringBoot + PF 6.2 + JoinFaces</p>