pub fn verify_signature_raw<K, S>(
    key: K,
    signature: S,
    data: Vec<u8, Global>
) -> Result<bool, WasmError>where
    K: Into<HoloHash<Agent>>,
    S: Into<Signature>,
Expand description

Verify the passed signature and public key against the literal bytes input.

The data is used as-is, there is no serialization or additional processing. This is best to use if you have literal bytes from somewhere. If you pass in a Vec expecting it to be serialized here, the signature won’t verify correctly.

See verify_signature