'Sets up the allowed ciphers. By default this matches the set in
util.ssl_.DEFAULT_CIPHERS, at least as supported by macOS. This is done
custom and doesn\'t allow changing at this time, mostly because parsing
OpenSSL cipher strings is going to be a freaking nightmare.'

def _set_ciphers(self):

    ciphers = (Security.SSLCipherSuite * len(CIPHER_SUITES))(*CIPHER_SUITES)
    result = Security.SSLSetEnabledCiphers(self.context, ciphers, len(CIPHER_SUITES))
    _assert_no_error(result)
