pub trait Signer: Send + Sync {
// Required method
fn sign(&self, string_to_sign: &[u8]) -> Result<Vec<u8>>;
}Available on crate feature
cloud-base and (crate features aws-base or azure-base or gcp-base) only.Expand description
Sign a payload, see CryptoProvider::sign
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".