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