Skip to main content

MultipartVerifier

Trait MultipartVerifier 

Source
pub trait MultipartVerifier<S> {
    // Required method
    fn multipart_verify(
        &self,
        msg: &[&[u8]],
        signature: &S,
    ) -> Result<(), Error>;
}
Expand description

Equivalent of Verifier but the message is provided in non-contiguous byte slices.

Required Methods§

Source

fn multipart_verify(&self, msg: &[&[u8]], signature: &S) -> Result<(), Error>

Equivalent of Verifier::verify() but the message is provided in non-contiguous byte slices.

§Errors

Returns Error if the provided signature is inauthentic for the given message.

Implementors§