@mattrglobal/cose
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published

CBOR Object Signing and Encryption

This repository is home to an incomplete implementation of RFC 8152 written in Typescript.

Initialising submodules

This project uses a Git submodule from the repository at github.com/cose-wg/Examples.git. That repository contains test cases. So you will need to pull them down for tests to run. To activate the submodule, run the following:

git submodule init
git submodule update

Signing

The following algorithms are supported for COSE_Sign1

Signing Algorithm Description
ES256 Elliptic Curve Digital Signature Algorithm using the P-256/brainpoolP256r1 curve with SHA-256
ES384 Elliptic Curve Digital Signature Algorithm using the P-384/brainpoolP384r1 curve with SHA-384
ES512 Elliptic Curve Digital Signature Algorithm using the P-512/brainpoolP512r1 curve with SHA-512
EdDSA Elliptic Curve Digital Signature Algorithm using the Ed25519/Ed448 curve with SHA-512
PS256 RSA Probabilistic Signature Scheme (RSASSA-PSS) with SHA-256
PS384 RSA Probabilistic Signature Scheme (RSASSA-PSS) with SHA-384
PS512 RSA Probabilistic Signature Scheme (RSASSA-PSS) with SHA-512

Licensing

See here for licence information

Readme

Keywords

none

Package Sidebar

Install

npm i @mattrglobal/cose

Weekly Downloads

1,682

Version

3.1.0

License

SEE LICENCE IN https://learn.mattr.global/docs/terms/mattr-pi-sdk-licence-agreement

Unpacked Size

240 kB

Total Files

132

Last publish

Collaborators

  • ci-mattr-dxe
  • ci-mattr-kibisis
  • npmjs_ci_mattr
  • npmjs_ci_public_mattr