proxy.core.tls.tls module#

proxy.py#

⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging.

copyright
  1. 2013-present by Abhinav Singh and contributors.

license

BSD, see LICENSE for more details.

class proxy.core.tls.tls.TlsParser[source]#

Bases: object

TLS packet parser

build() bytes[source]#
parse(raw: bytes) Tuple[bool, bytes][source]#

Parse TLS fragmentation.

References

https://datatracker.ietf.org/doc/html/rfc5246#page-15 https://datatracker.ietf.org/doc/html/rfc5077#page-3 https://datatracker.ietf.org/doc/html/rfc8446#page-10