(self, protocols: list[bytes | str])
| 493 | raise ssl.SSLError(f"Unable to load certificate chain: {e!r}") from e |
| 494 | |
| 495 | def set_alpn_protocols(self, protocols: list[bytes | str]) -> None: |
| 496 | protocols = [util.util.to_bytes(p, "ascii") for p in protocols] |
| 497 | return self._ctx.set_alpn_protos(protocols) # type: ignore[no-any-return] |
| 498 | |
| 499 | def wrap_socket( |
| 500 | self, |
no outgoing calls
no test coverage detected