Function indyrs::crypto::unpack_message
source · [−]pub fn unpack_message(
wallet_handle: WalletHandle,
jwe: &[u8]
) -> Box<dyn Future<Item = Vec<u8>, Error = IndyError>>
Expand description
Unpacks a message packed using indy_pack_message which follows the wire message format HIPE (Experimental)
Arguments
wallet_handle
: wallet handle (created by Wallet::open).jwe
: a pointer to the first byte of the JWE string
Returns
a json structure that contains a decrypted message and a sender_verkey if packed with authcrypt