pub fn verify_individual_signature(
    message: &[u8],
    signature: IndividualSignatureBytes,
    public_key: PublicKeyBytes,
) -> CryptoResult<()> {
    crypto::verify_individual_sig(
        message,
        (&signature).try_into()?,
        PublicKey::try_from(&public_key)?,
    )
}
/// Verifies that an individual signature is valid.
///
/// Usage note: Key generation by any compatible method generates
/// `PublicCoefficients` and fixes an index for each signatory.  An individual
/// signatory's public key can be derived from the `PublicCoefficients` and the
/// signatory's index with `individual_public_key(..)`.
///
/// # 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 individual signature to be verified.
/// * `public_key` is the individual public key of the signatory.
/// # Panics
/// This method is not expected to panic.
/// # Errors
/// * If `signature` or `public_key` cannot be parsed, this will return an
///   error.
Verifies that an individual signature is valid.
Usage note: Key generation by any compatible method generates
`PublicCoefficients` and fixes an index for each signatory.  An individual
signatory's public key can be derived from the `PublicCoefficients` and the
signatory's index with `individual_public_key(..)`.
Verifies that an individual signature is valid . Usage note : Key generation by any compatible method generates ` PublicCoefficients ` and fixes an index for each signatory . An individual signatory ' s public key can be derived from the ` PublicCoefficients ` and the signatory ' s index with ` individual_public_key ( .. ) ` .
pub fn verify_individual_signature(
    message: &[u8],
    signature: IndividualSignatureBytes,
    public_key: PublicKeyBytes,
) -> CryptoResult<()> {
    crypto::verify_individual_sig(
        message,
        (&signature).try_into()?,
        PublicKey::try_from(&public_key)?,
    )
}
pub fn verify_individual_signature ( message : & [ u8 ] , signature : IndividualSignatureBytes , public_key : PublicKeyBytes , ) -> CryptoResult < ( ) > { crypto :: verify_individual_sig ( message , ( & signature ) . try_into ( ) ? , PublicKey :: try_from ( & public_key ) ? , ) }
Verifies that an individual signature is valid.
Verifies that an individual signature is valid .
message
&[u8]
signature
IndividualSignatureBytes
public_key
PublicKeyBytes
message
&[u8]
signature
IndividualSignatureBytes
public_key
PublicKeyBytes
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 individual signature to be verified.
`public_key` is the individual public key of the signatory.
` 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 individual signature to be verified . ` public_key ` is the individual public key of the signatory .
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 .