Skip to main content

verify_entry_ref

Function verify_entry_ref 

Source
pub fn verify_entry_ref<'a>(
    data: &'a [u8],
    key: &QueryKey,
    trusted: &TrustedKeys,
    local: &Solver,
) -> Result<(Header, &'a [u8]), Rejection>
Expand description

Applies every check of verify_entry while borrowing the reply bytes. Servers can validate a large upload without allocating a second reply buffer.

ยงErrors

The first failed verification check, exactly as for verify_entry.