pub(crate) fn fingerprint_matches(
cert: &OpenpgpCert,
fingerprints: &HashSet<OpenpgpFingerprint>,
) -> boolExpand description
Checks whether an OpenpgpCert matches a set of OpenpgpFingerprints.
Returns true if cert is an accepted OpenpgpCert, based on the fingerprint filter
configuration in fingerprints.
If fingerprints is empty, any cert is accepted.
Otherwise, only certs with a matching fingerprint are accepted.