jsrsasign

opensource free pure JavaScript cryptographic library supports RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, CMS SignedData, TimeStamp and CAdES and JSON Web Signature(JWS)/Token(JWT)/Key(JWK).

RSAECDSADSARSAPSSPKCS#1PKCS#5PKCS#8private keypublic keyCSRPKCS#10hash functionHMacASN.1certificateX.509RFC 3161Digital TimestampTimestampTime Stamp TokenCMSCryptgraphic Message SyntaxPKCS#7SignatureDigital SignaturesigningMessage DigestJSON Web TokenJWTJSON Web SignatureJWSJSON Web KeyJWKJOSEJWA

https://kjur.github.io/jsrsasign/