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

Class EncKrbCredPart

scapy/layers/kerberos.py:2078–2105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2076
2077
2078class EncKrbCredPart(ASN1_Packet):
2079 ASN1_codec = ASN1_Codecs.BER
2080 ASN1_root = ASN1F_SEQUENCE(
2081 ASN1F_SEQUENCE(
2082 ASN1F_SEQUENCE_OF(
2083 "ticketInfo",
2084 [KrbCredInfo()],
2085 KrbCredInfo,
2086 explicit_tag=0xA0,
2087 ),
2088 ASN1F_optional(
2089 UInt32("nonce", None, explicit_tag=0xA1),
2090 ),
2091 ASN1F_optional(
2092 KerberosTime("timestamp", None, explicit_tag=0xA2),
2093 ),
2094 ASN1F_optional(
2095 Microseconds("usec", None, explicit_tag=0xA3),
2096 ),
2097 ASN1F_optional(
2098 ASN1F_PACKET("sAddress", None, HostAddress, explicit_tag=0xA4),
2099 ),
2100 ASN1F_optional(
2101 ASN1F_PACKET("cAddress", None, HostAddress, explicit_tag=0xA5),
2102 ),
2103 ),
2104 implicit_tag=ASN1_Class_KRB.EncKrbCredPart,
2105 )
2106
2107
2108# sect 5.9.1

Callers

nothing calls this directly

Calls 5

ASN1F_SEQUENCEClass · 0.90
ASN1F_SEQUENCE_OFClass · 0.90
ASN1F_optionalClass · 0.90
ASN1F_PACKETClass · 0.90
KrbCredInfoClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…