Skip to main content

verify

Function verify 

Source
pub fn verify<'a>(
    note: &Note,
    trusted: &'a [Verifier],
) -> Result<Vec<&'a Verifier>>
Expand description

Checks a note’s log signatures against trusted log keys: a line whose name and key id match a trusted key has to verify, lines from unknown keys are ignored, and at least one trusted key has to have signed. Returns the trusted keys that verified, in note order.