Example #1
0
 def get_ciphers(self):
     """Return an M2Crypto.SSL.Cipher_Stack object for this connection; if the
     connection has not been initialised with cipher suites, return None."""
     c=m2.ssl_get_ciphers(self.ssl)
     if c is None:
         return None
     return Cipher_Stack(c)
Example #2
0
 def get_ciphers(self):
     """Return an M2Crypto.SSL.Cipher_Stack object for this connection; if the
     connection has not been initialised with cipher suites, return None."""
     c = m2.ssl_get_ciphers(self.ssl)
     if c is None:
         return None
     return Cipher_Stack(c)