scapy.layers.tls.crypto.kx_algs

Key Exchange algorithms as listed in appendix C of RFC 4346.

XXX No support yet for PSK (also, no static DH, DSS, SRP or KRB).

class scapy.layers.tls.crypto.kx_algs.KX_DHE_RSA

Bases: scapy.layers.tls.crypto.kx_algs._GenericKX

anonymous = False
client_kx_msg_cls

alias of scapy.layers.tls.keyexchange.ClientDiffieHellmanPublic

descr = 'Ephemeral DH with RSA signature'
export = False
name = 'DHE_RSA'
no_ske = False
server_kx_msg_cls(m)
class scapy.layers.tls.crypto.kx_algs.KX_DHE_RSA_EXPORT

Bases: scapy.layers.tls.crypto.kx_algs.KX_DHE_RSA

anonymous = False
descr = 'Ephemeral DH with RSA signature, export version'
export = True
name = 'DHE_RSA_EXPORT'
no_ske = False
class scapy.layers.tls.crypto.kx_algs.KX_DH_anon

Bases: scapy.layers.tls.crypto.kx_algs._GenericKX

anonymous = True
client_kx_msg_cls

alias of scapy.layers.tls.keyexchange.ClientDiffieHellmanPublic

descr = 'Anonymous DH, no signatures'
export = False
name = 'DH_anon'
no_ske = False
server_kx_msg_cls(m)
class scapy.layers.tls.crypto.kx_algs.KX_DH_anon_EXPORT

Bases: scapy.layers.tls.crypto.kx_algs.KX_DH_anon

anonymous = True
descr = 'Anonymous DH, no signatures - Export version'
export = True
name = 'DH_anon_EXPORT'
no_ske = False
class scapy.layers.tls.crypto.kx_algs.KX_ECDHE_ECDSA

Bases: scapy.layers.tls.crypto.kx_algs._GenericKX

anonymous = False
client_kx_msg_cls

alias of scapy.layers.tls.keyexchange.ClientECDiffieHellmanPublic

descr = 'Ephemeral ECDH with ECDSA signature'
export = False
name = 'ECDHE_ECDSA'
no_ske = False
server_kx_msg_cls(m)
class scapy.layers.tls.crypto.kx_algs.KX_ECDHE_RSA

Bases: scapy.layers.tls.crypto.kx_algs._GenericKX

anonymous = False
client_kx_msg_cls

alias of scapy.layers.tls.keyexchange.ClientECDiffieHellmanPublic

descr = 'Ephemeral ECDH with RSA signature'
export = False
name = 'ECDHE_RSA'
no_ske = False
server_kx_msg_cls(m)
class scapy.layers.tls.crypto.kx_algs.KX_ECDH_anon

Bases: scapy.layers.tls.crypto.kx_algs._GenericKX

anonymous = True
client_kx_msg_cls

alias of scapy.layers.tls.keyexchange.ClientECDiffieHellmanPublic

descr = 'ECDH anonymous key exchange'
export = False
name = 'ECDH_anon'
no_ske = False
server_kx_msg_cls(m)
class scapy.layers.tls.crypto.kx_algs.KX_NULL

Bases: scapy.layers.tls.crypto.kx_algs._GenericKX

anonymous = False
client_kx_msg_cls = None
descr = 'No key exchange'
export = False
name = 'NULL'
no_ske = True
server_kx_msg_cls(m)
class scapy.layers.tls.crypto.kx_algs.KX_RSA

Bases: scapy.layers.tls.crypto.kx_algs._GenericKX

anonymous = False
client_kx_msg_cls

alias of scapy.layers.tls.keyexchange.EncryptedPreMasterSecret

descr = 'RSA encryption'
export = False
name = 'RSA'
no_ske = True
server_kx_msg_cls(m)
class scapy.layers.tls.crypto.kx_algs.KX_RSA_EXPORT

Bases: scapy.layers.tls.crypto.kx_algs.KX_RSA

anonymous = False
descr = 'RSA encryption, export version'
export = True
name = 'RSA_EXPORT'
no_ske = False
server_kx_msg_cls(m)
class scapy.layers.tls.crypto.kx_algs.KX_SSLv2

Bases: scapy.layers.tls.crypto.kx_algs._GenericKX

anonymous = False
client_kx_msg_cls = None
descr = 'SSLv2 dummy key exchange class'
export = False
name = 'SSLv2'
no_ske = True
server_kx_msg_cls(m)
class scapy.layers.tls.crypto.kx_algs.KX_TLS13

Bases: scapy.layers.tls.crypto.kx_algs._GenericKX

anonymous = False
client_kx_msg_cls = None
descr = 'TLS 1.3 dummy key exchange class'
export = False
name = 'TLS13'
no_ske = True
server_kx_msg_cls(m)