示例#1
0
    def set_client_CA_list_from_context(self):
        """
        Set the acceptable client CA list. If the client
        returns a certificate, it must have been issued by
        one of the CAs listed in context.

        Makes sense only for servers.
        """
        m2.ssl_set_client_CA_list_from_context(self.ssl, self.ctx.ctx)
示例#2
0
 def set_client_CA_list_from_context(self):
     """
     Set the acceptable client CA list. If the client
     returns a certificate, it must have been issued by
     one of the CAs listed in context.
     
     Makes sense only for servers.
     """
     m2.ssl_set_client_CA_list_from_context(self.ssl, self.ctx.ctx)