Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (17 loc) · 1.83 KB

README.md

File metadata and controls

24 lines (17 loc) · 1.83 KB

CBOR Object Signing and Encryption

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

Signing

The following algorithms are supported for COSE_Sign1

Signing Algorithm Description
ES256 Elliptic Curve Digital Signature Algorithm using the P-256 curve with SHA-256
ES384 Elliptic Curve Digital Signature Algorithm using the P-384 curve with SHA-384
ES512 Elliptic Curve Digital Signature Algorithm using the P-512 curve with SHA-512
EdDSA* Elliptic Curve Digital Signature Algorithm using the Ed25519 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

*Only available in Node environments version 14 and above

Licensing

See here for licence information