Skip to content
Snippets Groups Projects
Commit ad55d93d authored by Damyan Mitev's avatar Damyan Mitev :beach:
Browse files

fix appendSig function (used for resigning of pdf)

parent 23c8f847
No related branches found
No related tags found
4 merge requests!48269 implement workflow for signing already uploaded document dev,!47269 implement workflow for signing already uploaded document,!41268 convert odt file to pdf,!38Implement pdf signing on the client
...@@ -535,7 +535,7 @@ async function newSig(pdf, root, rootSuccessor, date, signingCert, certificateCh ...@@ -535,7 +535,7 @@ async function newSig(pdf, root, rootSuccessor, date, signingCert, certificateCh
return array; return array;
} }
async function appendSig(pdf, root, rootSuccessor, date, cert, password) { async function appendSig(pdf, root, rootSuccessor, date, signingCert, certificateChain, privateKey) {
//copy root and the entry with contents to the end //copy root and the entry with contents to the end
var startRoot = pdf.stream.bytes.length + 1; var startRoot = pdf.stream.bytes.length + 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment