Skip to main content

verify_detached_ed25519

Function verify_detached_ed25519 

Source
pub fn verify_detached_ed25519(
    jws: &str,
    external_payload: &[u8],
    public_key: &[u8],
) -> SignatifResult<()>
Expand description

Verify a detached compact JWS against its external payload.

jws is header.signature; the signing input is reconstructed from the decoded header and the supplied external payload.

ยงErrors

Signature or format errors.