Skip to main content

DeviceSigningAuthority

Trait DeviceSigningAuthority 

Source
pub trait DeviceSigningAuthority: Send + Sync {
    // Required methods
    fn public_key_hex(&self) -> String;
    fn sign(&self, message: &[u8]) -> [u8; 64];
}
Expand description

A retained capability that can sign as one device without exposing its key.

Required Methods§

Source

fn public_key_hex(&self) -> String

Source

fn sign(&self, message: &[u8]) -> [u8; 64]

Implementors§