Lines Matching refs:certfile
1288 Instantiate with: IMAP4_SSL([host[, port[, keyfile[, certfile[, ssl_context[, timeout=None]]]]]])
1293 certfile - PEM formatted certificate chain file (default: None);
1297 certfile should not be set otherwise ValueError is raised.
1306 certfile=None, ssl_context=None, timeout=None):
1310 if ssl_context is not None and certfile is not None:
1311 raise ValueError("ssl_context and certfile arguments are mutually "
1313 if keyfile is not None or certfile is not None:
1315 warnings.warn("keyfile and certfile are deprecated, use a "
1318 self.certfile = certfile
1320 ssl_context = ssl._create_stdlib_context(certfile=certfile,