Update zgapdfsigner.js - fix signAndProtect

pull/12/head
Th3G33k 2025-09-08 08:57:06 -10:00 committed by GitHub
parent 0d39f569ae
commit 4bdbeabaa2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ z.PdfSigner = class{
} }
/** @type {Zga.PdfCryptor} */ /** @type {Zga.PdfCryptor} */
_this.cyptr = new z.PdfCryptor(cypopt); _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."); z.log("Pdf data has been encrypted.");
} }
} }