Function libindy_sys::indy_prover_fetch_credentials [−][src]
pub unsafe extern "C" fn indy_prover_fetch_credentials(
command_handle: indy_handle_t,
search_handle: indy_handle_t,
count: indy_u32_t,
cb: indy_str_cb
) -> indy_error_t
Fetch next credentials for search.
#Params search_handle: Search handle (created by indy_prover_search_credentials) count: Count of credentials to fetch cb: Callback that takes command result as parameter.
#Returns
credentials_json: List of human readable credentials:
[{
"referent": string, // cred_id in the wallet
"attrs": {"key1":"raw_value1", "key2":"raw_value2"},
"schema_id": string,
"cred_def_id": string,
"rev_reg_id": Optional
#Errors Annoncreds* Common* Wallet*