«
class documentation

class ServerTLSContext:

Constructor: ServerTLSContext(filename, method)

View In Hierarchy

SSL Context Factory for server-side connections.

Method __init__ Undocumented
Method getContext Return an SSL.Context to be use for server-side connections.
Class Variable isClient Undocumented
Instance Variable filename Undocumented
Instance Variable _method Undocumented
def __init__(self, filename: str | bytes = certPath, method: int | None = None):

Undocumented

def getContext(self) -> SSL.Context:

Return an SSL.Context to be use for server-side connections.

Will not return a cached context. This is done to improve the test coverage as most implementation are caching the context.

isClient: int =

Undocumented

filename =

Undocumented

_method =

Undocumented