Skip to main content

verify_general_timeless

Function verify_general_timeless 

Source
fn verify_general_timeless(
    hashes: &DirectorySignaturesHashesAccu,
    signatures: &[NdiDirectorySignature],
    trusted: &[RsaIdentity],
    certs: &[&AuthCert],
    threshold: usize,
) -> Result<(), VF>
Expand description

Meat of the verification functions for network documents

Checks that at least threshold members of trusted have signed this document (in signatures), via some cert(s) in certs.

Does not check validity time.