[][src]Function indyrs::did::get_my_did_with_metadata

pub fn get_my_did_with_metadata(
    wallet_handle: IndyHandle,
    my_did: &str
) -> Box<dyn Future<Item = String, Error = IndyError>>

Retrieves the information about the giving DID in the wallet.

Arguments

  • wallet_handle - Wallet handle (created by Wallet::open).
  • did - The DID to retrieve information.

Returns

  • did_with_meta - { "did": string - DID stored in the wallet, "verkey": string - The DIDs transport key (ver key, key id), "metadata": string - The meta information stored with the DID }