Lines Matching refs:purpose
460 def _load_windows_store_certs(self, storename, purpose): argument
466 if trust is True or purpose.oid in trust:
474 def load_default_certs(self, purpose=Purpose.SERVER_AUTH): argument
475 if not isinstance(purpose, _ASN1Object):
476 raise TypeError(purpose)
479 self._load_windows_store_certs(storename, purpose)
551 def create_default_context(purpose=Purpose.SERVER_AUTH, *, cafile=None, argument
559 if not isinstance(purpose, _ASN1Object):
560 raise TypeError(purpose)
567 if purpose == Purpose.SERVER_AUTH:
578 context.load_default_certs(purpose)
582 check_hostname=False, purpose=Purpose.SERVER_AUTH, argument
592 if not isinstance(purpose, _ASN1Object):
593 raise TypeError(purpose)
619 context.load_default_certs(purpose)