Function libindy_sys::indy_get_did_metadata [−][src]
pub unsafe extern "C" fn indy_get_did_metadata(
command_handle: indy_handle_t,
wallet_handle: indy_handle_t,
did: *const c_char,
cb: indy_str_cb
) -> indy_error_t
Retrieves the meta information for the giving DID in the wallet.
#Params command_handle: Command handle to map callback to caller context. wallet_handle: Wallet handle (created by open_wallet). did - The DID to retrieve metadata. cb: Callback that takes command result as parameter.
#Returns Error Code cb:
- xcommand_handle: Command handle to map callback to caller context.
- err: Error code.
- metadata - The meta information stored with the DID; Can be null if no metadata was saved for this DID.
#Errors Common* Wallet* Crypto*