pub trait SigningKey {
// Required methods
fn sign(&self, data: &[u8]) -> Result<Vec<u8>, HttpSigError>;
fn key_id(&self) -> String;
fn alg(&self) -> AlgorithmName;
}Expand description
SigningKey trait
Required Methods§
fn sign(&self, data: &[u8]) -> Result<Vec<u8>, HttpSigError>
fn key_id(&self) -> String
fn alg(&self) -> AlgorithmName
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".