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

Class _CompressionMethodsField

scapy/layers/tls/handshake.py:239–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237
238
239class _CompressionMethodsField(_CipherSuitesField):
240
241 def any2i_one(self, pkt, x):
242 if isinstance(x, (_GenericComp, _GenericCompMetaclass)):
243 x = x.val
244 if isinstance(x, str):
245 x = self.s2i[x]
246 return x
247
248
249###############################################################################

Callers 4

TLSClientHelloClass · 0.85
TLS13ClientHelloClass · 0.85
TLSServerHelloClass · 0.85
handshake.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…