(self, file)
Adds a trusted certificate to the certificate store of the SSL context
        object.
Adds a trusted certificate to the certificate store of the SSL context
        object.
Adds a trusted certificate to the certificate store of the SSL context object .
def add_trusted_cert(self, file):
        """
        Adds a trusted certificate to the certificate store of the SSL context
        object.
        """
        if not os.access(file, os.R_OK):
            raise ValueError, "Unable to read certificate file %s" % file
        self._trusted_certs.append(file)
def add_trusted_cert ( self , file ) : if not os . access ( file , os . R_OK ) : raise ValueError , "Unable to read certificate file %s" % file self . _trusted_certs . append ( file )