Known implementations: twisted.internet.ssl.AcceptableCiphers

A list of acceptable ciphers for a TLS context.

Method selectCiphers Choose which ciphers to allow to be negotiated on a TLS connection.
def selectCiphers(availableCiphers):

Choose which ciphers to allow to be negotiated on a TLS connection.

ParametersavailableCiphersA list of ICipher which gives the names of all ciphers supported by the TLS implementation in use.
ReturnsA 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.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.