Package dpkt :: Module ssl :: Class TLSHandshake
[hide private]
[frames] | no frames]

Class TLSHandshake

source code

 object --+    
          |    
dpkt.Packet --+
              |
             TLSHandshake


A TLS Handshake message

This goes for all messages encapsulated in the Record layer, but especially
important for handshakes and app data: A message may be spread across a
number of TLSRecords, in addition to the possibility of there being more
than one in a given Record. You have to put together the contents of
TLSRecord's yourself.

Nested Classes [hide private]

Inherited from dpkt.Packet: __metaclass__

Instance Methods [hide private]
 
unpack(self, buf)
Unpack packet header fields from buf, and set self.data.
source code

Inherited from dpkt.Packet: __getitem__, __init__, __len__, __repr__, __str__, pack, pack_hdr

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

Class Variables [hide private]
  __hdr__ = (('type', 'B', 0), ('length_bytes', '3s', 0))
  __hdr_defaults__ = {'length_bytes': 0, 'type': 0}
  __hdr_fields__ = ['type', 'length_bytes']
  __hdr_fmt__ = '>B3s'
  __hdr_len__ = 4
Properties [hide private]
  length
  data
  length_bytes
  type

Inherited from object: __class__

Method Details [hide private]

unpack(self, buf)

source code 
Unpack packet header fields from buf, and set self.data.

Overrides: dpkt.Packet.unpack
(inherited documentation)

Property Details [hide private]

length

Get Method:
unreachable.length(self)