Function indyrs::did::abbreviate_verkey
source · pub fn abbreviate_verkey(
tgt_did: &str,
verkey: &str
) -> Box<dyn Future<Item = String, Error = ErrorCode>>
Expand description
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