Update zgapdfsigner.js - fix signAndProtect
commit
32a3b5f1e0
|
@ -430,7 +430,7 @@ z.PdfSigner = class{
|
|||
}
|
||||
/** @type {Zga.PdfCryptor} */
|
||||
_this.cyptr = new z.PdfCryptor(cypopt);
|
||||
await _this.cyptr.encryptPdf(pdfdoc, encref);
|
||||
pdfdoc = await _this.cyptr.encryptPdf(pdfdoc, encref);
|
||||
z.log("Pdf data has been encrypted.");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue