Package tlslite :: Module tlsconnection :: Class RSAKeyExchange
[hide private]
[frames] | no frames]

Class RSAKeyExchange

source code


Handling of RSA key exchange

NOT stable API, do NOT use

Instance Methods [hide private]
 
makeServerKeyExchange(self)
Returns a ServerKeyExchange object for the server's initial leg in the handshake.
source code
 
processClientKeyExchange(self, clientKeyExchange)
Processes the client's ClientKeyExchange message and returns the premaster secret.
source code

Inherited from KeyExchange: __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

makeServerKeyExchange(self)

source code 

Returns a ServerKeyExchange object for the server's initial leg in the handshake. If the key exchange method does not send ServerKeyExchange (e.g. RSA), it returns None.

Overrides: KeyExchange.makeServerKeyExchange
(inherited documentation)

processClientKeyExchange(self, clientKeyExchange)

source code 

Processes the client's ClientKeyExchange message and returns the premaster secret. Raises TLSLocalAlert on error.

Overrides: KeyExchange.processClientKeyExchange
(inherited documentation)