Ejemplo n.º 1
0
    def set_cipher_list(self, cipher_list):
        # type: (str) -> int
        """Sets the list of available ciphers.

        @param cipher_list: The format of the string is described in
                            ciphers(1).
        @return: 1 if any cipher could be selected and 0 on complete
                 failure.
        """
        return m2.ssl_ctx_set_cipher_list(self.ctx, cipher_list)
Ejemplo n.º 2
0
    def set_cipher_list(self, cipher_list):
        # type: (str) -> int
        """Sets the list of available ciphers.

        @param cipher_list: The format of the string is described in
                            ciphers(1).
        @return: 1 if any cipher could be selected and 0 on complete
                 failure.
        """
        return m2.ssl_ctx_set_cipher_list(self.ctx, cipher_list)
Ejemplo n.º 3
0
 def set_cipher_list(self, cipher_list):
     return m2.ssl_ctx_set_cipher_list(self.ctx, cipher_list)
Ejemplo n.º 4
0
 def set_cipher_list(self, cipher_list):
     return m2.ssl_ctx_set_cipher_list(self.ctx, cipher_list)