MCPcopy Create free account
hub / github.com/secdev/scapy / CMS_EnvelopedData

Class CMS_EnvelopedData

scapy/layers/x509.py:1593–1608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1591
1592
1593class 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

Callers

nothing calls this directly

Calls 6

ASN1F_SEQUENCEClass · 0.90
ASN1F_optionalClass · 0.90
ASN1F_PACKETClass · 0.90
ASN1F_SET_OFClass · 0.90
CMS_RecipientInfoClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…