[−][src]Function indyrs::crypto::unpack_message
pub fn unpack_message(
wallet_handle: IndyHandle,
jwe: &[u8]
) -> Box<dyn Future<Item = Vec<u8>, Error = IndyError>>
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