logo

Function ssi::jws::recover

source · []
pub fn recover(
    algorithm: Algorithm,
    data: &[u8],
    signature: &[u8]
) -> Result<JWK, Error>
Expand description

Recover a key from a signature and message, if the algorithm supports this. (e.g. ES256K-R)