Development Documentation (main branch) - For stable release docs, see docs.rs/eidetica

verify_entry_signature

Function verify_entry_signature 

Source
pub fn verify_entry_signature(
    entry: &Entry,
    public_key: &PublicKey,
) -> Result<(), AuthError>
Expand description

Verify an entry’s signature using an algorithm-agnostic PublicKey.

Returns Ok(()) if the signature is valid, or Err(AuthError) if verification fails (missing signature, malformed data, or wrong key).