fn validate_required_certifications(
trust_anchor_fingerprint_matches: &HashSet<OpenpgpFingerprint>,
) -> impl FnOnce(&NumCertifications, &()) -> Result + '_Expand description
Validates that the required number of certifications matches the amount of pinned trust anchors.
ยงErrors
Returns an error, if the num_certifications of a ConfigTrustAnchorMode is larger than the
number of trust_anchor_fingerprint_matches.