WebViewer Version: 7.3.2
1> Is the Digital Signature feature depicted in the Webviewer demo available out of the box? i.e. the ability to upload a pfx file and approve a signature annotation.
Or, do we need to implement it using the APIs? If we need to implement it, then how can I pass the pfx file, since it seems that the addStdSignatureHandlerFromURL(pkcs12_file, pkcs12_pass) method takes a url as parameter for the digital certificate?
2> I have signature fields in the document. But still, the isSignedDigitally() does not return a promise:
let annotManager = readerControl.docViewer.getAnnotationManager();
const signatureWidgetAnnots = annotManager.getAnnotationsList().filter(
annot => annot instanceof Annotations.SignatureWidgetAnnotation
);
console.log(signatureWidgetAnnots)
signatureWidgetAnnots.forEach(annot => {
annot.isSignedDigitally().then(isSigned => {
if (isSigned) {
console.log(true)
} else {
// if this signature field is not signed initially
}
});
Thanks.
Romit