IEnvelopedData
Properties
Section titled “Properties”encryptedContentInfo
Section titled “encryptedContentInfo”encryptedContentInfo:
EncryptedContentInfo
Encrypted content information
originatorInfo?
Section titled “originatorInfo?”
optionaloriginatorInfo?:OriginatorInfo
Optionally provides information about the originator. It is present only if required by the key management algorithm. It may contain certificates and CRLs.
recipientInfos
Section titled “recipientInfos”recipientInfos:
RecipientInfo[]
Collection of per-recipient information. There MUST be at least one element in the collection.
unprotectedAttrs?
Section titled “unprotectedAttrs?”
optionalunprotectedAttrs?:Attribute[]
Collection of attributes that are not encrypted
version
Section titled “version”version:
number
Version number.
The appropriate value depends on originatorInfo, RecipientInfo, and unprotectedAttrs.
The version MUST be assigned as follows:
IF (originatorInfo is present) AND ((any certificates with a type of other are present) OR (any crls with a type of other are present))THEN version is 4ELSE IF ((originatorInfo is present) AND (any version 2 attribute certificates are present)) OR (any RecipientInfo structures include pwri) OR (any RecipientInfo structures include ori) THEN version is 3 ELSE IF (originatorInfo is absent) AND (unprotectedAttrs is absent) AND (all RecipientInfo structures are version 0) THEN version is 0 ELSE version is 2