primefaces-extensions / primefaces-extensions.github.com

Organization repo, only for homepage, wiki and issue tracker
https://primefaces-extensions.github.io/
70 stars 22 forks source link

DocumentViewer: Enable digital signature viewing #787

Closed melloware closed 4 years ago

melloware commented 4 years ago

Based on this stack overflow post: https://stackoverflow.com/questions/61349395/pedocumentviewer-not-displaying-digital-signatures-in-pdf

There is still an open PDF.js ticket: https://github.com/mozilla/pdf.js/issues/1076

However we can enabled viewing but not signing if we change...

if (data.fieldType === "Sig") {
      data.fieldValue = null;
      this.setFlags(_util.AnnotationFlag.HIDDEN);
}

to...

if (data.fieldType === "Sig") {
      data.fieldValue = null;
}
melloware commented 4 years ago

I tried ths and it doesn't work. Right now this service is the only way to see digital signatures.

https://verify.ink/