cose-kit
v3.0.0
Published
**DEPRECATED:** Use [@auth0/cose](https://www.npmjs.com/package/@auth0/cose).
Downloads
5,161
Readme
DEPRECATED: Use @auth0/cose.
RFC9052/RFC9053 COSE library for node.js.
Note: this is an early project.
This library is designed to work in node.js as well in the browser but is not yet tested in the browser context.
Installation
npm i --save cose-kitExamples
You can run the following examples with node examples/Mac0.mjs:
- Sign1: COSE Single Signer Data Object
- Sign: COSE Signed Data Object
- Mac0: COSE Mac w/o Recipients Object
- Encrypt0: COSE Single Recipient Encrypted Data Object
- Encrypt: COSE_Encrypt with direct encryption
- COSEKey: COSEKey usage
Credits
- panva/jose A node.js library for JOSE.
License
MIT License 2023 - José F. Romaniello
