fn validate_required_certifications(
trust_anchor_fingerprint_matches: Option<&HashSet<OpenpgpFingerprint>>,
) -> impl FnOnce(&Option<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 set it is
larger than the number of trust_anchor_fingerprint_matches.