proxy.core.tls.types module#
proxy.py#
⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging.
- copyright
2013-present by Abhinav Singh and contributors.
- license
BSD, see LICENSE for more details.
- class proxy.core.tls.types.TlsContentType(CHANGE_CIPHER_SPEC, ALERT, HANDSHAKE, APPLICATION_DATA, OTHER)#
Bases:
tuple
- _asdict()#
Return a new dict which maps field names to their values.
- _field_defaults = {}#
- _fields = ('CHANGE_CIPHER_SPEC', 'ALERT', 'HANDSHAKE', 'APPLICATION_DATA', 'OTHER')#
- classmethod _make(iterable)#
Make a new TlsContentType object from a sequence or iterable
- _replace(**kwds)#
Return a new TlsContentType object replacing specified fields with new values
- class proxy.core.tls.types.TlsHandshakeType(HELLO_REQUEST, CLIENT_HELLO, SERVER_HELLO, CERTIFICATE, SERVER_KEY_EXCHANGE, CERTIFICATE_REQUEST, SERVER_HELLO_DONE, CERTIFICATE_VERIFY, CLIENT_KEY_EXCHANGE, FINISHED, OTHER)#
Bases:
tuple
- _asdict()#
Return a new dict which maps field names to their values.
- _field_defaults = {}#
- _fields = ('HELLO_REQUEST', 'CLIENT_HELLO', 'SERVER_HELLO', 'CERTIFICATE', 'SERVER_KEY_EXCHANGE', 'CERTIFICATE_REQUEST', 'SERVER_HELLO_DONE', 'CERTIFICATE_VERIFY', 'CLIENT_KEY_EXCHANGE', 'FINISHED', 'OTHER')#
- classmethod _make(iterable)#
Make a new TlsHandshakeType object from a sequence or iterable
- _replace(**kwds)#
Return a new TlsHandshakeType object replacing specified fields with new values