Skip to main content

MultipartSigner

Trait MultipartSigner 

Source
pub trait MultipartSigner<S> {
    // Required method
    fn try_multipart_sign(&self, msg: &[&[u8]]) -> Result<S, Error>;

    // Provided method
    fn multipart_sign(&self, msg: &[&[u8]]) -> S { ... }
}
Expand description

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

Required Methods§

Source

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

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

§Errors

Returns implementation-specific errors in the event signing failed (e.g. KMS or HSM communication error).

Provided Methods§

Source

fn multipart_sign(&self, msg: &[&[u8]]) -> S

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

Implementors§