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

Class ExternalPrincipalIdentifier

scapy/layers/kerberos.py:1254–1273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1252
1253
1254class ExternalPrincipalIdentifier(ASN1_Packet):
1255 ASN1_codec = ASN1_Codecs.BER
1256 ASN1_root = ASN1F_SEQUENCE(
1257 ASN1F_optional(
1258 ASN1F_STRING_ENCAPS(
1259 "subjectName", None, X509_DirectoryName, implicit_tag=0x80
1260 ),
1261 ),
1262 ASN1F_optional(
1263 ASN1F_STRING_ENCAPS(
1264 "issuerAndSerialNumber",
1265 None,
1266 CMS_IssuerAndSerialNumber,
1267 implicit_tag=0x81,
1268 ),
1269 ),
1270 ASN1F_optional(
1271 ASN1F_STRING("subjectKeyIdentifier", "", implicit_tag=0x82),
1272 ),
1273 )
1274
1275
1276class PA_PK_AS_REQ(ASN1_Packet):

Callers

nothing calls this directly

Calls 4

ASN1F_SEQUENCEClass · 0.90
ASN1F_optionalClass · 0.90
ASN1F_STRING_ENCAPSClass · 0.90
ASN1F_STRINGClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…