CMS 3D CMS Logo

List of all members | Public Member Functions
visDQMUpload.HTTPSCertAuth Class Reference
Inheritance diagram for visDQMUpload.HTTPSCertAuth:

Public Member Functions

def __init__ (self, host, context=None, *args, **kwargs)
 

Detailed Description

Definition at line 39 of file visDQMUpload.py.

Constructor & Destructor Documentation

◆ __init__()

def visDQMUpload.HTTPSCertAuth.__init__ (   self,
  host,
  context = None,
args,
**  kwargs 
)

Definition at line 40 of file visDQMUpload.py.

40  def __init__(self, host, context = None, *args, **kwargs):
41  if context is None:
42  context = ssl._create_default_https_context()
43  if ssl_key_file or ssl_cert_file:
44  context.load_cert_chain(ssl_cert_file, ssl_key_file)
45  HTTPS.__init__(self, host, context = context, **kwargs)
46