Home | Trees | Index | Help |
|
---|
|
Stream
Method Summary | |
---|---|
Initialize TLS support of a Stream object | |
Get the TLS connection object for the stream. | |
Process incoming StartTLS related element of <stream:features/>. | |
libxml2.xmlNode |
Update the <features/> with StartTLS feature. |
Initiate TLS connection. | |
Same as Stream.process but assume self.lock is acquired. | |
bool |
Process incoming stream element. |
Process stream element in the TLS namespace. | |
Read data pending on the stream socket and pass it to the parser. | |
Read data pending on the stream socket and pass it to the parser. | |
Request a TLS-encrypted connection. | |
Reset StreamTLSMixIn object state making it ready to handle new
connections. | |
Certificate verification callback for TLS connections. | |
Same as Stream.write_raw but assume self.lock is acquired. |
Instance Variable Summary | |
---|---|
tls : TLS connection object. |
Method Details |
---|
__init__(self,
tls_settings=None)
Initialize TLS support of a Stream object |
get_tls_connection(self)Get the TLS connection object for the stream.
|
_handle_tls_features(self)Process incoming StartTLS related element of <stream:features/>. [initiating entity only] The received features node is available in |
_make_stream_tls_features(self, features)Update the <features/> with StartTLS feature. [receving entity only]
|
_make_tls_connection(self)Initiate TLS connection. [initiating entity only] |
_process(self)Same asStream.process but assume self.lock is acquired. |
_process_node_tls(self, xmlnode)Process incoming stream element. Pass it to _process_tls_node if it is in TLS namespace.
|
_process_tls_node(self, xmlnode)Process stream element in the TLS namespace.
|
_read(self)Read data pending on the stream socket and pass it to the parser. |
_read_tls(self)Read data pending on the stream socket and pass it to the parser. |
_request_tls(self)Request a TLS-encrypted connection. [initiating entity only] |
_reset_tls(self)ResetStreamTLSMixIn object state making it ready to handle new
connections. |
_tls_verify_callback(self, ssl_ctx_ptr, x509_ptr, errnum, depth, ok)Certificate verification callback for TLS connections.
|
_write_raw(self, data)Same asStream.write_raw but assume self.lock is acquired. |
Instance Variable Details |
---|
tlsTLS connection object. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Dec 26 17:57:48 2005 | http://epydoc.sf.net |