CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
visDQMUpload.HTTPSCertAuth Class Reference
Inheritance diagram for visDQMUpload.HTTPSCertAuth:

Public Member Functions

def __init__
 

Detailed Description

Definition at line 32 of file visDQMUpload.py.

Constructor & Destructor Documentation

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

Definition at line 33 of file visDQMUpload.py.

33 
34  def __init__(self, host, context = None, *args, **kwargs):
35  if context is None:
36  context = ssl._create_default_https_context()
37  if ssl_key_file or ssl_cert_file:
38  context.load_cert_chain(ssl_cert_file, ssl_key_file)
39  HTTPS.__init__(self, host, context = context, **kwargs)