RFC9052 and RFC9053 COSE library for node.js.
This library is designed to work in node.js as well in the browser but it is not currently being tested in the browser.
npm i --save @auth0/cose
You can run the examples directly with node.
- 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
- panva/jose A node.js library for JOSE.
Apache-2.0 - OKTA Inc.