Package M2Crypto :: Module BIO :: Class SSLBio
[frames] | no frames]

Class SSLBio




Object interface to BIO_f_ssl

Instance Methods
 
__init__(self, _pyfree=1)
 
set_ssl(self, conn, close_flag=0)
Sets the bio to the SSL pointer which is contained in the connection object.
 
do_handshake(self)
Do the handshake.

Inherited from BIO: __del__, bio_ptr, close, fileno, flush, m2_bio_free, read, readable, readline, readlines, reset, should_read, should_retry, should_write, write, write_close, writeable

Method Details

__init__(self, _pyfree=1)
(Constructor)

 
Overrides: BIO.__init__

do_handshake(self)

 

Do the handshake.

Return 1 if the handshake completes Return 0 or a negative number if there is a problem