//! EncryptedData-related types
use Sequence;
use Attributes;
use crateCmsVersion;
use crateEncryptedContentInfo;
/// The `EncryptedData` type is defined in [RFC 5652 Section 8].
///
/// ```text
/// EncryptedData ::= SEQUENCE {
/// version CMSVersion,
/// encryptedContentInfo EncryptedContentInfo,
/// ...,
/// [[2: unprotectedAttrs [1] IMPLICIT Attributes
/// {{UnprotectedEncAttributes}} OPTIONAL ]] }
/// ```
///
/// [RFC 5652 Section 8]: https://www.rfc-editor.org/rfc/rfc5652#section-8