A message that Cmsex.decrypt/2 decrypted.
Fields:
:content- the content, decrypted.:content_type- its type, as a name ofCmsex.OID, such as:data, or an OID. For AuthEnvelopedData, the content-type attribute, when present, was checked against it.:recipient- theCmsex.RecipientInfothat gave the content-encryption key, ornilwhen it came in:content_key.:message- the message asCmsex.decode/2reads it, aCmsex.EnvelopedDataor aCmsex.EncryptedData, for the rest: the originator certificates, the unprotected attributes, and the authenticated attributes of an AuthEnvelopedData, which the tag covers.
Inspect leaves the content out.
Summary
Types
@type t() :: %Cmsex.Decrypted{ content: binary(), content_type: atom() | tuple(), message: Cmsex.EnvelopedData.t() | Cmsex.EncryptedData.t(), recipient: Cmsex.RecipientInfo.t() | nil }