This repository is home to an incomplete implementation of RFC 8152 written in Typescript.
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
See here for licence information