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

Class ServerHello2

source code


SERVER-HELLO message from SSLv2

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
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

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

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
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)