An EncryptedData message, as Cmsex.decode/2 reads it (RFC 5652, 8):
content encrypted with a key the parties manage by other means, with no
recipients. Cmsex.decrypt/2 with :content_key decrypts it.
Fields:
:version- the version written in the message.:content_type- the type of the encrypted content, as a name ofCmsex.OIDor an OID.:content_encryption_algorithm- the name of the cipher inCmsex.OID, such as:aes256_cbc, or its OID.:encrypted_content- the ciphertext, ornilwhen it is not in the message.:unprotected_attributes- attributes that nothing protects, empty when there are none.:deviations-:encrypted_data_versionwhen the version is not 0 without unprotected attributes, or 2 with them.