/// Verifies that a combined signature is valid.
///
/// # Arguments
/// * `message` is the bytes that have been signed.  Note: This may be changed
///   to a `[u8;32]` and renamed to hash pending discussion.  See TODO: DFN-1430
/// * `signature` is the combined signature to be verified.
/// * `public_key` is the combined public key for the threshold signature.
/// # Panics
/// This method is not expected to panic.
/// # Errors
/// * If `signature` or `public_key` cannot be parsed, this will return an
///   error.
Verifies that a combined signature is valid.
Verifies that a combined signature is valid .
pub fn verify_combined_signature(
    message: &[u8],
    signature: CombinedSignatureBytes,
    public_key: PublicKeyBytes,
) -> CryptoResult<()> {
    crypto::verify_combined_sig(
        message,
        (&signature).try_into()?,
        PublicKey::try_from(&public_key)?,
    )
}
pub fn verify_combined_signature ( message : & [ u8 ] , signature : CombinedSignatureBytes , public_key : PublicKeyBytes , ) -> CryptoResult < ( ) > { crypto :: verify_combined_sig ( message , ( & signature ) . try_into ( ) ? , PublicKey :: try_from ( & public_key ) ? , ) }
Verifies that a combined signature is valid.
Verifies that a combined signature is valid .
message
&[u8]
signature
CombinedSignatureBytes
public_key
PublicKeyBytes
panics
This method is not expected to panic.
This method is not expected to panic .
errors
If `signature` or `public_key` cannot be parsed, this will return an
error.
If ` signature ` or ` public_key ` cannot be parsed this will return an error .