validate_num_data_signatures

Function validate_num_data_signatures 

Source
fn validate_num_data_signatures(
    verification_method: &VerificationMethod,
) -> impl FnOnce(&NumDataSignatures, &()) -> Result + '_
Expand description

Validates that the required number of data signatures matches the verification method.

ยงErrors

Returns an error, if the verification_method is PlainMode and its number of fingerprint_matches is fewer than that of num_data_signatures.