CMS SignedData generator

Simple RFC 5652 CMS SignedData generator in pure JavaScript

TOP | DOWNLOADS | TUTORIALS | API REFERENCE | DEMOS |

(Step1) Fill signer's private key and certificate

As for private key, any PKCS#5 and PKCS#8 PEM formatted RSA/ECDSA/DSA key are supported.
SIGNER'S PRIVATE KEY:
SIGNER'S X.509 CERTIFICATE:

(Step2) Fill CMS SignedData properties

signed content
hash algorithm for MessageDigest attribute
signature algorithm for SignerInfo
add SigingTime signed attribute?

(Step3) Press "Sign" button

Generated CMS SignedData


This PEM formatted CMS signed data can be verified by OpenSSL command as following.
% openssl cms -verify -in cms.pem -signer signer.cer -no_signer_cert_verify -inform PEM -binary