parent
0473f700a1
commit
90474e9393
|
@ -37,9 +37,12 @@ signing with a timestamp from [TSA](https://github.com/zboris12/zgapdfsigner/wik
|
||||||
|
|
||||||
* [pdf-lib](https://pdf-lib.js.org/)
|
* [pdf-lib](https://pdf-lib.js.org/)
|
||||||
* [node-forge](https://github.com/digitalbazaar/forge)
|
* [node-forge](https://github.com/digitalbazaar/forge)
|
||||||
|
* [follow-redirects](https://github.com/follow-redirects/follow-redirects)
|
||||||
|
|
||||||
## How to use this tool
|
## How to use this tool
|
||||||
|
|
||||||
|
:question: For more details please see the [wiki](https://github.com/zboris12/zgapdfsigner/wiki/API).
|
||||||
|
|
||||||
### Web Browser
|
### Web Browser
|
||||||
Just import the dependencies and this tool.
|
Just import the dependencies and this tool.
|
||||||
```html
|
```html
|
||||||
|
@ -265,8 +268,6 @@ async function main(){
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
:question: For more details please see the [wiki](https://github.com/zboris12/zgapdfsigner/wiki/API).
|
|
||||||
|
|
||||||
## Let's protect the pdf
|
## Let's protect the pdf
|
||||||
|
|
||||||
Set password protection to the pdf.
|
Set password protection to the pdf.
|
||||||
|
@ -372,8 +373,6 @@ async function signAndProtect2(pdf, cert, pwd){
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
:question: For more details please see the [wiki](https://github.com/zboris12/zgapdfsigner/wiki/API).
|
|
||||||
|
|
||||||
## Thanks
|
## Thanks
|
||||||
* The module of setting protection was almost migrated from [TCPDF](http://www.tcpdf.org).
|
* The module of setting protection was almost migrated from [TCPDF](http://www.tcpdf.org).
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
{
|
{
|
||||||
"name": "zgapdfsigner",
|
"name": "zgapdfsigner",
|
||||||
"version": "2.5.1",
|
"version": "2.5.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "zgapdfsigner",
|
"name": "zgapdfsigner",
|
||||||
"version": "2.5.1",
|
"version": "2.5.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"follow-redirects": "1.15.2",
|
"follow-redirects": "1.15.6",
|
||||||
"node-forge": "1.3.1",
|
"node-forge": "1.3.1",
|
||||||
"pdf-lib": "1.17.1"
|
"pdf-lib": "1.17.1"
|
||||||
},
|
},
|
||||||
|
@ -124,9 +124,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/follow-redirects": {
|
"node_modules/follow-redirects": {
|
||||||
"version": "1.15.2",
|
"version": "1.15.6",
|
||||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
|
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz",
|
||||||
"integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==",
|
"integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "individual",
|
"type": "individual",
|
||||||
|
@ -466,9 +466,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"follow-redirects": {
|
"follow-redirects": {
|
||||||
"version": "1.15.2",
|
"version": "1.15.6",
|
||||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
|
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz",
|
||||||
"integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA=="
|
"integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA=="
|
||||||
},
|
},
|
||||||
"google-closure-compiler": {
|
"google-closure-compiler": {
|
||||||
"version": "20231112.0.0",
|
"version": "20231112.0.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "zgapdfsigner",
|
"name": "zgapdfsigner",
|
||||||
"version": "2.5.1",
|
"version": "2.5.2",
|
||||||
"author": "zboris12",
|
"author": "zboris12",
|
||||||
"description": "A javascript tool to sign a pdf or set protection to a pdf in web browser, Google Apps Script and nodejs.",
|
"description": "A javascript tool to sign a pdf or set protection to a pdf in web browser, Google Apps Script and nodejs.",
|
||||||
"homepage": "https://github.com/zboris12/zgapdfsigner",
|
"homepage": "https://github.com/zboris12/zgapdfsigner",
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
"test": "node test4node.js"
|
"test": "node test4node.js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"follow-redirects": "1.15.2",
|
"follow-redirects": "1.15.6",
|
||||||
"pdf-lib": "1.17.1",
|
"pdf-lib": "1.17.1",
|
||||||
"node-forge": "1.3.1"
|
"node-forge": "1.3.1"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue