def get_trust_roots(self): """Delegates the call and unwraps the needed parameter.""" try: result = self._delegate.get_trust_roots(self.requestCertificate()) except Exception as e: return gapitools.form_error_return(logger, e) return gapitools.form_success_return(result)
def lookup_authorities_for_urns(self, urns): """Delegates the call and unwraps the needed parameter.""" try: result = self._delegate.lookup_authorities_for_urns(self.requestCertificate(), urns) except Exception as e: return gapitools.form_error_return(logger, e) return gapitools.form_success_return(result)
def lookup_authorities_for_urns(self, urns): """Delegates the call and unwraps the needed parameter.""" try: result = self._delegate.lookup_authorities_for_urns( self.requestCertificate(), urns) except Exception as e: return gapitools.form_error_return(logger, e) return gapitools.form_success_return(result)
def lookup_private_member_info(self, credentials, options): """Delegates the call and unwraps the needed parameter.""" try: field_filter = options.pop('filter') if ('filter' in options) else None field_match = options.pop('match') if ('match' in options) else None result = self._delegate.lookup_private_member_info(self.requestCertificate(), credentials, field_filter, field_match, options) except Exception as e: return gapitools.form_error_return(logger, e) return gapitools.form_success_return(result)
def get_version(self): """Delegates the call and unwraps the needed parameter.""" try: version, fields = self._delegate.get_version(self.requestCertificate()) result = {} result['VERSION'] = version if fields: result["FIELDS"] = fields except Exception as e: return gapitools.form_error_return(logger, e) return gapitools.form_success_return(result)
def lookup_public_member_info(self, options): """Delegates the call and unwraps the needed parameter.""" try: field_filter = options.pop('filter') if ('filter' in options) else None field_match = options.pop('match') if ('match' in options) else None result = self._delegate.lookup_public_member_info( self.requestCertificate(), field_filter, field_match, options) except Exception as e: return gapitools.form_error_return(logger, e) return gapitools.form_success_return(result)
def get_version(self): """Delegates the call and unwraps the needed parameter.""" try: version, fields = self._delegate.get_version( self.requestCertificate()) result = {} result['VERSION'] = version if fields: result["FIELDS"] = fields except Exception as e: return gapitools.form_error_return(logger, e) return gapitools.form_success_return(result)
def get_version(self): """Delegates the call and unwraps the needed parameter.""" try: version, add_services, credential_types, fields = self._delegate.get_version(self.requestCertificate()) result = {} result['VERSION'] = version result['CREDENTIAL_TYPES'] = credential_types result['SERVICES'] = ['MEMBER'] + add_services if fields: result["FIELDS"] = fields except Exception as e: return gapitools.form_error_return(logger, e) return gapitools.form_success_return(result)
def get_version(self): """Delegates the call and unwraps the needed parameter.""" try: version, add_services, credential_types, fields = self._delegate.get_version( self.requestCertificate()) result = {} result['VERSION'] = version result['CREDENTIAL_TYPES'] = credential_types result['SERVICES'] = ['MEMBER'] + add_services if fields: result["FIELDS"] = fields except Exception as e: return gapitools.form_error_return(logger, e) return gapitools.form_success_return(result)