Skip to content
Snippets Groups Projects
Commit 6215f35f authored by Zdravko Iliev's avatar Zdravko Iliev
Browse files

add build

parent 5d40a7e4
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,8 @@ const verifyPDF = (pdf) => {
(0, generalUtils_1.checkForSubFilter)(pdfBuffer);
}
catch (error) {
throw new Error(error.message);
//SubFilter is only available if there is a sig in the pdf
return null;
}
try {
const { signatureStr, signedData, signatureMeta } = (0, signatureUtils_1.extractSignature)(pdfBuffer);
......
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