Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ ecms Public

erlang implementation of (parts of) RFC 5652 Cryptographic Message Syntax (CMS)

License

Notifications You must be signed in to change notification settings

sg2342/ecms

Repository files navigation

ecms

Build Status Hex.pm Docs

Sign, verify, encrypt, and decrypt RFC 5652 Cryptographic Message Syntax (CMS) messages. Compatible with (some invocations of) the openSSL cms tool.

Sign / Verify

ecms supports RSASSA-PSS, DSA, and EC signatures with SHA224, SHA256, SHA384, and SHA512 digests in sign and verify.

Legacy RSA signatures and SHA1 digests are supported for verify only.

Encrypt / Decrypt

RSAAES-OAEP KeyTransRecipientInfo and EC (dhSinglePass-stdDH-sha224-kdf-scheme, dhSinglePass-stdDH-sha256-kdf-scheme, dhSinglePass-stdDH-sha384-kdf-scheme, dhSinglePass-stdDH-sha512-kdf-scheme) KeyAgreeRecipientInfo

AuthEnvelopedData with AES GCM 128, 224, and 256

EnvelopedData with AES OFB/CFB/CBC 128, 224, and 256

KeyTransRecipientInfo with rsaEncryption is supported for decrypt only.

About

erlang implementation of (parts of) RFC 5652 Cryptographic Message Syntax (CMS)

Resources

License

Stars

Watchers

Forks

Packages

No packages published