PKI.js is a pure JavaScript library implementing the formats that are used in PKI applications (signing, encryption, certificate requests, OCSP and TSP requests/responses). It is built on WebCrypto (Web Cryptography API) and requires no plug-ins.
Currently, PublicKeyInfo only supports two algorithms -- ECDSA ("1.2.840.10045.2.1") and RSA ("1.2.840.113549.1.1.1", for encryption). It would be useful to also support RSA-PSS ("1.2.840.113549.1.1.10"). The format is defined here:
Currently, PublicKeyInfo only supports two algorithms -- ECDSA ("1.2.840.10045.2.1") and RSA ("1.2.840.113549.1.1.1", for encryption). It would be useful to also support RSA-PSS ("1.2.840.113549.1.1.10"). The format is defined here:
If folks generally agree, I can try and send a PR to add this support.