pub fn verify(
signer_vk: &str,
message: &[u8],
signature: &[u8]
) -> Box<dyn Future<Item = bool, Error = ErrorCode>>
Expand description
Verify a signature with a verkey
Arguments
wallet_handle
- wallet handle (created by Wallet::open)signer_vk
- key id or verkey of my key. The key must be created by calling create_key or Did::newmessage
- the data that was signedsignature
- the signature to verify
Returns
true if signature is valid, false otherwise