Comments (8)
Hi,
1: If the signature is valid or not is not supposed to be rendered in the document. That is for the reader (Adober Reader or other) to verify and tell you.
2: Adding a box is something standard. Here is an example of how that's done with PDFKit. Also have a look at the issues tagged "visual".
from node-signpdf.
Hi,
1: If the signature is valid or not is not supposed to be rendered in the document. That is for the reader (Adober Reader or other) to verify and tell you.
2: Adding a box is something standard. Here is an example of how that's done with PDFKit. Also have a look at the issues tagged "visual".
Thanks for the reply. I agree with you on 1, but the link I attached seems to be able to link the box to Adobe reader's "signature panel". Any idea how that's done?
from node-signpdf.
The widget (one that is not [0, 0, 0, 0]) as shown in the linked example will appear in the document active element (hoverable) in my Adobe Reader.
Clicking it will open up the Signature Validation Status dialog for this signature.
from node-signpdf.
which widget exactly? is it the addVisual function you're talking about? https://github.com/vbuch/node-signpdf/blob/develop/packages/examples/src/pdfkit010-with-visual.js#L82
Also, do you mind showing the full dialog of the 'Signature Validation Status' image please just so I can make sure it is indeed what Im looking for?
from node-signpdf.
No. I'm not talking about addVisual
. That just draws something. I used the word "widget" intentionally. I don't think it can be more readable really: https://github.com/vbuch/node-signpdf/blob/develop/packages/examples/src/pdfkit010-with-visual.js#L96
README here then node src/pdfkit010-with-visual.js
. Output will be in the output
dir. Then you can make sure it is what you are looking for.
from node-signpdf.
What version of node are you using?
from node-signpdf.
How to add image or annotation with pdf-lib? As far as i know, pdfkit only for creation, cause i dont find load function like in pdf-lib.
from node-signpdf.
% node --version
v21.1.0
@lutfi-haslab pdf-lib allows you to load. It also allows you to add whatever you want to the document. The only thing missing is incremental updates so multiple signatures are not possible with it. If you are asking about pdfkit, I'm sorry but I don't know a way to do it with pdfkit. That is actually why the plain placeholder helper exists.
from node-signpdf.
Related Issues (20)
- Signer implementation expected using 3.2.3 HOT 1
- Issue with PFX HOT 2
- Unable to sign using a p12 certificate - Error: Only 8, 16, 24, or 32 bits supported: 320 HOT 1
- Build fails because of missing type HOT 1
- Appending remote PADES signatures HOT 5
- Make Pades sign ETSI compliant HOT 1
- TypeError: pdf.ref is not a function HOT 1
- placeholder-pdfkit stops the pdf stream emitting the "end" event HOT 5
- PKCS#12 MAC could not be verified. Invalid password? HOT 1
- Could not resolve dependency with [email protected] HOT 2
- PDF expected as Buffer. HOT 1
- Run-time compatibility HOT 6
- Error when trying to sign a pdf document when using @signpdf module HOT 1
- error open with adobe reader HOT 1
- Error when using node JS pdf-lib: Expected xref at NaN but found other content
- How can fields of placeholder be visible. HOT 19
- Illegal values in ByteRange array/ Signature has not yet been verified
- Angular 17: Buffer is not defined
- Trouble with Signed PDFs: Valid Signature but No Green Tick in Acrobat HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-signpdf.