pub trait OfflineSigner: Send + Sync {
// Required methods
fn verifying_key(&self) -> Result<VerifyingKey>;
fn sign(&self, message: &[u8]) -> Result<Signature>;
}Expand description
Sign-only boundary used by app-private or hardware-backed storage.
Required Methods§
fn verifying_key(&self) -> Result<VerifyingKey>
fn sign(&self, message: &[u8]) -> Result<Signature>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".