Open louisxie0830 opened 5 years ago
It’s been a couple years since I used this package. The document project I created it for, never fully went live and so this package never had a chance to prove and refine itself.
Everything as is. You’re on your own
const pdfboxCliWrap = require('pdfbox-cli-wrap'); const path = require('path');
const inPath = path.join(dirname, 'new.pdf'); const key = path.join(dirname, 'pdfbox-test.p12');
pdfboxCliWrap .signToBuffer(inPath, inPath, { password: 'pdfbox-test-password', keyStore: key, }) .then(buffer => { // console.log('buffer: ', JSON.stringify(buffer)); console.log('signed!'); }) .catch(e => { console.log('e: ', e); });
pdf still have no signature, Do you make sure this function had been implemented.