Lines Matching refs:certfile
752 def starttls(self, keyfile=None, certfile=None, context=None):
759 session. If you provide the keyfile and certfile parameters,
780 if context is not None and certfile is not None:
781 raise ValueError("context and certfile arguments are mutually "
783 if keyfile is not None or certfile is not None:
785 warnings.warn("keyfile and certfile are deprecated, use a "
788 context = ssl._create_stdlib_context(certfile=certfile,
1020 as they do in the SMTP class. keyfile and certfile are also optional -
1023 SSLContext, and is an alternative to keyfile and certfile; If it is
1024 specified both keyfile and certfile must be None.
1031 keyfile=None, certfile=None,
1037 if context is not None and certfile is not None:
1038 raise ValueError("context and certfile arguments are mutually "
1040 if keyfile is not None or certfile is not None:
1042 warnings.warn("keyfile and certfile are deprecated, use a "
1045 self.certfile = certfile
1047 context = ssl._create_stdlib_context(certfile=certfile,