node-forge 0.7.5 → 0.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/README.md +4 -0
- package/dist/forge.all.min.js +1 -1
- package/dist/forge.min.js +1 -1
- package/lib/pkcs7.js +30 -16
- package/lib/util.js +4 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1378,6 +1378,10 @@ p7.addSigner({
|
|
|
1378
1378
|
p7.sign();
|
|
1379
1379
|
var pem = forge.pkcs7.messageToPem(p7);
|
|
1380
1380
|
|
|
1381
|
+
// PKCS#7 Sign in detached mode.
|
|
1382
|
+
// Includes the signature and certificate without the signed data.
|
|
1383
|
+
p7.sign({detached: true});
|
|
1384
|
+
|
|
1381
1385
|
```
|
|
1382
1386
|
|
|
1383
1387
|
<a name="pkcs8" />
|