[][src]Function indyrs::did::abbreviate_verkey

pub fn abbreviate_verkey(
    tgt_did: &str,
    verkey: &str
) -> Box<dyn Future<Item = String, Error = IndyError>>

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

Arguments

  • tgt_did - DID.
  • full_verkey - The DIDs verification key,

#Returns

  • verkey - The DIDs verification key in either abbreviated or full form