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

add more logs

parent 28a30946
No related branches found
No related tags found
1 merge request!48269 implement workflow for signing already uploaded document dev
......@@ -732,8 +732,11 @@ async function signPdfObjects (pdfRaw, signingCert, certificateChain, privateKey
}
console.log("Calling loadPdf");
var pdf = loadPdf(pdfRaw);
console.log("Calling findRootEntry");
var root = findRootEntry(pdf.xref);
console.log("Calling findSuccessorEntry");
var rootSuccessor = findSuccessorEntry(pdf.xref.entries, root);
console.log("Calling isSigInRoot");
if(!isSigInRoot(pdf)) {
console.log("Calling newSig");
return await newSig(pdf, root, rootSuccessor, date, signingCert, certificateChain, privateKey);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment