| Current Path : /opt/imh-python/lib/python3.9/site-packages/cheroot/ssl/ |
| Current File : //opt/imh-python/lib/python3.9/site-packages/cheroot/ssl/__init__.pyi |
from abc import abstractmethod, ABCMeta
from typing import Any
class Adapter(metaclass=ABCMeta):
certificate: Any
private_key: Any
certificate_chain: Any
ciphers: Any
context: Any
@abstractmethod
def __init__(self, certificate, private_key, certificate_chain: Any | None = ..., ciphers: Any | None = ...): ...
@abstractmethod
def bind(self, sock): ...
@abstractmethod
def wrap(self, sock): ...
@abstractmethod
def get_environ(self): ...
@abstractmethod
def makefile(self, sock, mode: str = ..., bufsize: int = ...): ...