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

Class CMC_AddAttributes

scapy/layers/x509.py:1761–1767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1759# https://learn.microsoft.com/en-us/windows/win32/seccertenroll/cmc-attributes
1760
1761class CMC_AddAttributes(ASN1_Packet):
1762 ASN1_codec = ASN1_Codecs.BER
1763 ASN1_root = ASN1F_SEQUENCE(
1764 ASN1F_INTEGER("pkiDataReference", 0),
1765 ASN1F_SEQUENCE_OF("certReferences", [], ASN1F_INTEGER),
1766 ASN1F_SET_OF("attributes", X509_Attribute(), X509_Attribute),
1767 )
1768
1769
1770_X509_ATTRIBUTE_TYPE["1.3.6.1.4.1.311.10.10.1"] = CMC_AddAttributes

Callers

nothing calls this directly

Calls 5

ASN1F_SEQUENCEClass · 0.90
ASN1F_INTEGERClass · 0.90
ASN1F_SEQUENCE_OFClass · 0.90
ASN1F_SET_OFClass · 0.90
X509_AttributeClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…