Package tlslite :: Module constants :: Class ContentType
[hide private]
[frames] | no frames]

Class ContentType

source code


TLS record layer content types of payloads

Instance Methods [hide private]

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

Class Methods [hide private]
 
toRepr(cls, value, blacklist=None)
Convert numeric type to name representation
source code

Inherited from TLSEnum: toStr

Class Variables [hide private]
  alert = 21
  all = (20, 21, 22, 23)
  application_data = 23
  change_cipher_spec = 20
  handshake = 22
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

toRepr(cls, value, blacklist=None)
Class Method

source code 

Convert numeric type to name representation

Overrides: TLSEnum.toRepr