Function libindy_sys::indy_prover_fetch_credentials_for_proof_req [−][src]
pub unsafe extern "C" fn indy_prover_fetch_credentials_for_proof_req(
command_handle: indy_handle_t,
search_handle: indy_handle_t,
item_referent: *const c_char,
count: indy_u32_t,
cb: indy_str_cb
) -> indy_error_t
Fetch next credentials for the requested item using proof request search handle (created by indy_prover_search_credentials_for_proof_req).
#Params search_handle: Search handle (created by indy_prover_search_credentials_for_proof_req) item_referent: Referent of attribute/predicate in the proof request count: Count of credentials to fetch cb: Callback that takes command result as parameter.
#Returns
credentials_json: List of credentials for the given proof request.
[{
cred_info: <credential_info>,
interval: Optional<non_revoc_interval>
}]
where
credential_info:
{
"referent":
#Errors Annoncreds* Common* Wallet*