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

Class _TLSPadLenField

scapy/layers/tls/basefields.py:215–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213
214
215class _TLSPadLenField(ByteField):
216 def addfield(self, pkt, s, val):
217 # We add nothing here. This is done in .post_build() if needed.
218 return s
219
220 def getfield(self, pkt, s):
221 if pkt.tls_session.consider_read_padding():
222 return ByteField.getfield(self, pkt, s)
223 return s, None
224
225
226# SSLv2 fields

Callers 1

TLSClass · 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…