parameters: (self)
docstring: 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.
docstring_summary: 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.
docstring_tokens: 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 .
function: def _set_ciphers(self):
          """
          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.
          """
          ciphers = (Security.SSLCipherSuite * len(CIPHER_SUITES))(*CIPHER_SUITES)
          result = Security.SSLSetEnabledCiphers(
              self.context, ciphers, len(CIPHER_SUITES)
          )
          _assert_no_error(result)
function_tokens: 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 )