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

Class CMS_KeyAgreeRecipientInfo

scapy/layers/x509.py:1524–1539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1522
1523
1524class CMS_KeyAgreeRecipientInfo(ASN1_Packet):
1525 ASN1_codec = ASN1_Codecs.BER
1526 ASN1_root = ASN1F_SEQUENCE(
1527 CMSVersion("version", 3),
1528 ASN1F_PACKET("originator", CMS_OriginatorIdentifierOrKey(),
1529 CMS_OriginatorIdentifierOrKey,
1530 explicit_tag=0xA0),
1531 ASN1F_optional(
1532 ASN1F_STRING("ukm", None, "",
1533 explicit_tag=0x81),
1534 ),
1535 ASN1F_PACKET("keyEncryptionAlgorithm",
1536 X509_AlgorithmIdentifier(),
1537 X509_AlgorithmIdentifier),
1538 ASN1F_SEQUENCE_OF("recipientEncryptedKeys", [], CMS_RecipientEncryptedKey),
1539 )
1540
1541
1542# RFC3852 sect 6.2

Callers 1

CMS_RecipientInfoClass · 0.85

Calls 7

ASN1F_SEQUENCEClass · 0.90
ASN1F_PACKETClass · 0.90
ASN1F_optionalClass · 0.90
ASN1F_STRINGClass · 0.90
ASN1F_SEQUENCE_OFClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…