Function libindy_sys::indy_abbreviate_verkey[][src]

pub unsafe extern "C" fn indy_abbreviate_verkey(
    command_handle: indy_handle_t,
    did: *const c_char,
    full_verkey: *const c_char,
    cb: indy_str_cb
) -> indy_error_t

Retrieves abbreviated verkey if it is possible otherwise return full verkey.

#Params command_handle: Command handle to map callback to caller context. did: DID. full_verkey: The DIDs verification key,

#Returns Error Code cb:

  • xcommand_handle: Command handle to map callback to caller context.
  • err: Error code. verkey: The DIDs verification key in either abbreviated or full form

#Errors Common* Wallet* Crypto*