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

Class _TLSLengthField

scapy/layers/tls/basefields.py:99–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97
98
99class _TLSLengthField(ShortField):
100 def i2repr(self, pkt, x):
101 s = super(_TLSLengthField, self).i2repr(pkt, x)
102 if pkt.deciphered_len is not None:
103 dx = pkt.deciphered_len
104 ds = super(_TLSLengthField, self).i2repr(pkt, dx)
105 s += " [deciphered_len= %s]" % ds
106 return s
107
108
109class _TLSIVField(StrField):

Callers 2

TLSClass · 0.90
TLS13Class · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…