twisted.internet.ssl.AcceptableCiphers(object) class documentationtwisted.internet.ssl
          View Source
          (View In Hierarchy)
        
      Implements interfaces: twisted.internet.interfaces.IAcceptableCiphers
A representation of ciphers that are acceptable for TLS connections.
| Method | __init__ | Undocumented | 
| Method | selectCiphers | Choose which ciphers to allow to be negotiated on a TLS connection. | 
| Class Method | fromOpenSSLCipherString | Create a new instance using an OpenSSL cipher string. | 
| Instance Variable | _ciphers | Undocumented | 
Choose which ciphers to allow to be negotiated on a TLS connection.
| Parameters | availableCiphers | A list of ICipher which gives the names of all ciphers supported by the TLS implementation in use. | 
| Returns | A list of ICipher which represents the ciphers which may be negotiated on the TLS connection.  The result is ordered by preference with more preferred ciphers appearing earlier. | |
Create a new instance using an OpenSSL cipher string.
| Parameters | cipherString | An OpenSSL cipher string that describes what cipher suites are acceptable. See the documentation of OpenSSL or Apache for details. (type: unicode) | 
| Returns | Instance representing cipherString. (type: twisted.internet.ssl.AcceptableCiphers) | |