pub trait Signer: Send + Sync {
// Required methods
fn key_id(&self) -> &str;
fn sign(&self, msg: &[u8]) -> [u8; 64];
fn public_key_bytes(&self) -> [u8; 32];
}Expand description
Abstract signer — the KMS integration point (brief Module G, post-MVP).
Required Methods§
Sourcefn public_key_bytes(&self) -> [u8; 32]
fn public_key_bytes(&self) -> [u8; 32]
The corresponding public key (32 bytes).