Skip to main content

IdentityKeyAuthority

Trait IdentityKeyAuthority 

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

A retained capability that acts as one Store identity without exposing its key.

Required Methods§

Source

fn public_key(&self) -> [u8; 32]

Source

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

Source

fn to_x25519_secret_key(&self) -> [u8; 32]

Implementors§