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§
Sourcefn try_multipart_sign(&self, msg: &[&[u8]]) -> Result<S, Error>
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§
Sourcefn multipart_sign(&self, msg: &[&[u8]]) -> S
fn multipart_sign(&self, msg: &[&[u8]]) -> S
Equivalent of Signer::sign() but the message is provided in non-contiguous byte slices.