Lines Matching refs:keyfile
106 def __init__(self, sock, keyfile=None, certfile=None,
124 if certfile and not keyfile:
125 keyfile = certfile
139 keyfile, certfile,
144 self.keyfile = keyfile
312 self._sslobj = _ssl.sslwrap(self._sock, False, self.keyfile, self.certfile,
349 keyfile=self.keyfile,
376 def wrap_socket(sock, keyfile=None, certfile=None,
382 return SSLSocket(sock, keyfile=keyfile, certfile=certfile,
459 def sslwrap_simple(sock, keyfile=None, certfile=None):
468 ssl_sock = _ssl.sslwrap(sock, 0, keyfile, certfile, CERT_NONE,