confidant_client/__init__.py
def list_cas(self):
        """Get the CA certificate, certificate chain, and tag info for the
        provided CA.
        """
        ret = {'result': False}
        try:
            response = self._execute_request(
                'get',
                '{0}/v1/cas'.format(self.config['url']),
            )
        except RequestExecutionError:
            logging.exception('Error with executing request')
            return ret
        try:
            data = response.json()
        except ValueError:
            logging.error('Received badly formatted json data from confidant.')
            return ret
        ret['cas'] = data['cas']
        ret['result'] = True
        return ret
Get the CA certificate, certificate chain, and tag info for the
        provided CA.
        
Get the CA certificate, certificate chain, and tag info for the
provided CA.
Get the CA certificate certificate chain and tag info for the provided CA .
def list_cas(self):
        ret = {'result': False}
        try:
            response = self._execute_request(
                'get',
                '{0}/v1/cas'.format(self.config['url']),
            )
        except RequestExecutionError:
            logging.exception('Error with executing request')
            return ret
        try:
            data = response.json()
        except ValueError:
            logging.error('Received badly formatted json data from confidant.')
            return ret
        ret['cas'] = data['cas']
        ret['result'] = True
        return ret
def list_cas ( self ) : ret = { 'result' : False } try : response = self . _execute_request ( 'get' , '{0}/v1/cas' . format ( self . config [ 'url' ] ) , ) except RequestExecutionError : logging . exception ( 'Error with executing request' ) return ret try : data = response . json ( ) except ValueError : logging . error ( 'Received badly formatted json data from confidant.' ) return ret ret [ 'cas' ] = data [ 'cas' ] ret [ 'result' ] = True return ret
Get the CA certificate, certificate chain, and tag info for the
provided CA.
Get the CA certificate certificate chain and tag info for the provided CA .
"""Get the CA certificate, certificate chain, and tag info for the
        provided CA.
        """
self