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

type Message

source code


Generic TLS message.

Instance Methods [hide private]
 
__init__(self, contentType, data)
Initialize object with specified contentType and data.
source code
 
write(self)
Return serialised object data.
source code
Method Details [hide private]

__init__(self, contentType, data)
(Constructor)

source code 

Initialize object with specified contentType and data.

Parameters:
  • contentType (int) - TLS record layer content type of associated data
  • data (bytearray) - data
Overrides: object.__init__