Lines Matching full:not
7 # "License"); you may not use this file except in compliance
37 # SSLContext is not available for Python < 2.7.9
40 # ciphers argument is not available for Python < 2.7.0
103 if host is None and port is None and len(args) == 1 and key not in kwargs:
125 if not self._server_side:
133 if not self._has_ssl_context:
135 'ssl_context is not available for this version of Python')
151 if not self.ca_certs:
153 'ca_certs is needed when cert_reqs is not ssl.CERT_NONE')
154 if not os.access(self.ca_certs, os.R_OK):
156 'is not readable, cannot validate SSL '
165 if self._server_side and not certfile:
167 if certfile and not os.access(certfile, os.R_OK):
173 if not self._custom_context:
233 Called after SSL handshake. Can raise when hostname does not
243 if not self._unix_socket_arg(host, port, args, kwargs):
252 if validate is not None:
274 # could not complete shutdown in a reasonable amount of time. bail.
337 Called after SSL handshake. Can raise when hostname does not
343 if not self._unix_socket_arg(host, port, args, kwargs):
348 if 'ssl_context' not in kwargs:
350 if 'cert_reqs' not in kwargs:
352 if'certfile' not in kwargs:
360 if self._should_verify and not _match_has_ipaddress:
372 Raises an IOError exception if the certfile is not present or unreadable.