Function indy::api::ledger::indy_build_attrib_request
[−]
[src]
#[no_mangle]pub extern "C" fn indy_build_attrib_request(
command_handle: i32,
submitter_did: *const c_char,
target_did: *const c_char,
hash: *const c_char,
raw: *const c_char,
enc: *const c_char,
cb: Option<extern "C" fn(_: i32, _: ErrorCode, _: *const c_char)>
) -> ErrorCode
Builds an ATTRIB request.
Params
command_handle: command handle to map callback to caller context. submitter_did: Id of Identity stored in secured Wallet. target_did: Id of Identity stored in secured Wallet. hash: Hash of attribute data raw: represented as json, where key is attribute name and value is it's value enc: Encrypted attribute data cb: Callback that takes command result as parameter.
Returns
Request result as json.
Errors
Common*