gdata.tlslite.messages | index /usr/local/google/home/afshar/src/external-gdata-release/google3/src/gdata/tlslite/messages.py

`Classes representing TLS messages.`

Modules
`` |  |
Crypto array base64 | binascii math md5 | os sha sys | traceback

Classes
`` |  | Msg Alert ApplicationData ChangeCipherSpec HandshakeMsg Certificate CertificateRequest CertificateVerify ClientHello ClientKeyExchange Finished ServerHello ServerHelloDone ServerKeyExchange RecordHeader2 RecordHeader3
class Alert(Msg)
`` |  | Methods defined here: __init__(self) create(self, description, level=2) parse(self, p) write(self) Methods inherited from Msg: postWrite(self, w, trial) preWrite(self, trial)
class ApplicationData(Msg)
`` |  | Methods defined here: __init__(self) create(self, bytes) parse(self, p) write(self) Methods inherited from Msg: postWrite(self, w, trial) preWrite(self, trial)
class Certificate(HandshakeMsg)
`` |  | Method resolution order: Certificate HandshakeMsg Msg Methods defined here: __init__(self, certificateType) create(self, certChain) parse(self, p) write(self, trial=False) Methods inherited from HandshakeMsg: preWrite(self, handshakeType, trial) Methods inherited from Msg: postWrite(self, w, trial)
class CertificateRequest(HandshakeMsg)
`` |  | Method resolution order: CertificateRequest HandshakeMsg Msg Methods defined here: __init__(self) create(self, certificate_types, certificate_authorities) parse(self, p) write(self, trial=False) Methods inherited from HandshakeMsg: preWrite(self, handshakeType, trial) Methods inherited from Msg: postWrite(self, w, trial)
class CertificateVerify(HandshakeMsg)
`` |  | Method resolution order: CertificateVerify HandshakeMsg Msg Methods defined here: __init__(self) create(self, signature) parse(self, p) write(self, trial=False) Methods inherited from HandshakeMsg: preWrite(self, handshakeType, trial) Methods inherited from Msg: postWrite(self, w, trial)
class ChangeCipherSpec(Msg)
`` |  | Methods defined here: __init__(self) create(self) parse(self, p) write(self, trial=False) Methods inherited from Msg: postWrite(self, w, trial) preWrite(self, trial)
class ClientHello(HandshakeMsg)
`` |  | Method resolution order: ClientHello HandshakeMsg Msg Methods defined here: __init__(self, ssl2=False) create(self, version, random, session_id, cipher_suites, certificate_types=None, srp_username=None) parse(self, p) write(self, trial=False) Methods inherited from HandshakeMsg: preWrite(self, handshakeType, trial) Methods inherited from Msg: postWrite(self, w, trial)
class ClientKeyExchange(HandshakeMsg)
`` |  | Method resolution order: ClientKeyExchange HandshakeMsg Msg Methods defined here: __init__(self, cipherSuite, version=None) createRSA(self, encryptedPreMasterSecret) createSRP(self, srp_A) parse(self, p) write(self, trial=False) Methods inherited from HandshakeMsg: preWrite(self, handshakeType, trial) Methods inherited from Msg: postWrite(self, w, trial)
class Finished(HandshakeMsg)
`` |  | Method resolution order: Finished HandshakeMsg Msg Methods defined here: __init__(self, version) create(self, verify_data) parse(self, p) write(self, trial=False) Methods inherited from HandshakeMsg: preWrite(self, handshakeType, trial) Methods inherited from Msg: postWrite(self, w, trial)
class HandshakeMsg(Msg)
`` |  | Methods defined here: preWrite(self, handshakeType, trial) Methods inherited from Msg: postWrite(self, w, trial)
class Msg
`` |  | Methods defined here: postWrite(self, w, trial) preWrite(self, trial)
class RecordHeader2
`` |  | Methods defined here: __init__(self) parse(self, p)
class RecordHeader3
`` |  | Methods defined here: __init__(self) create(self, version, type, length) parse(self, p) write(self)
class ServerHello(HandshakeMsg)
`` |  | Method resolution order: ServerHello HandshakeMsg Msg Methods defined here: __init__(self) create(self, version, random, session_id, cipher_suite, certificate_type) parse(self, p) write(self, trial=False) Methods inherited from HandshakeMsg: preWrite(self, handshakeType, trial) Methods inherited from Msg: postWrite(self, w, trial)
class ServerHelloDone(HandshakeMsg)
`` |  | Method resolution order: ServerHelloDone HandshakeMsg Msg Methods defined here: __init__(self) create(self) parse(self, p) write(self, trial=False) Methods inherited from HandshakeMsg: preWrite(self, handshakeType, trial) Methods inherited from Msg: postWrite(self, w, trial)
class ServerKeyExchange(HandshakeMsg)
`` |  | Method resolution order: ServerKeyExchange HandshakeMsg Msg Methods defined here: __init__(self, cipherSuite) createSRP(self, srp_N, srp_g, srp_s, srp_B) hash(self, clientRandom, serverRandom) parse(self, p) write(self, trial=False) Methods inherited from HandshakeMsg: preWrite(self, handshakeType, trial) Methods inherited from Msg: postWrite(self, w, trial)

Functions
`` |  | sha1 = openssl_sha1(...) `Returns a sha1 hash object; optionally initialized with a string`

Data
`` |  | cryptlibpyLoaded = False gmpyLoaded = False m2cryptoLoaded = False prngName = 'os.urandom' pycryptoLoaded = True sieve = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, ...]