Package tlslite :: Module messages :: Class ServerHello2
[hide private]
[frames] | no frames]

type ServerHello2

source code


SERVER-HELLO message from SSLv2.

Instance Methods [hide private]
 
__init__(self) source code
 
create(self, session_id_hit, certificate_type, server_version, certificate, ciphers, session_id)
Initialize fields of the SERVER-HELLO message.
source code
 
parse(self, parser)
Deserialise object from on the wire data.
source code
 
write(self)
Serialise object to on the wire data.
source code

Inherited from HandshakeMsg: postWrite

Instance Variables [hide private]
bytearray certificate
certificate sent by server
int certificate_type
type of certificate sent
array of int ciphers
list of ciphers supported by server
tuple of ints server_version
protocol version selected by server
bytearray session_id
idendifier of negotiated session
int session_id_hit
non zero if the client provided session ID was matched in server's session cache
Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: HandshakeMsg.__init__