Skip to main content

Signer

Trait Signer 

Source
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§

Source

fn sign(&self, string_to_sign: &[u8]) -> Result<Vec<u8>>

Sign the provided payload

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§