| 1591 | |
| 1592 | |
| 1593 | class CMS_EnvelopedData(ASN1_Packet): |
| 1594 | ASN1_codec = ASN1_Codecs.BER |
| 1595 | ASN1_root = ASN1F_SEQUENCE( |
| 1596 | CMSVersion("version", 1), |
| 1597 | ASN1F_optional( |
| 1598 | ASN1F_PACKET("originatorInfo", None, CMS_OriginatorInfo, |
| 1599 | implicit_tag=0xA0), |
| 1600 | ), |
| 1601 | ASN1F_SET_OF("recipientInfos", CMS_RecipientInfo(), CMS_RecipientInfo), |
| 1602 | ASN1F_PACKET("encryptedContentInfo", CMS_EncryptedContentInfo(), |
| 1603 | CMS_EncryptedContentInfo), |
| 1604 | ASN1F_optional( |
| 1605 | ASN1F_SET_OF("unprotectedAttrs", [], X509_Attribute, |
| 1606 | implicit_tag=0xA1), |
| 1607 | ) |
| 1608 | ) |
| 1609 | |
| 1610 | |
| 1611 | # RFC3852 sect 3 |
nothing calls this directly
no test coverage detected
searching dependent graphs…