Skip to main content

RequestSigner

Trait RequestSigner 

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

What signs a puller’s capability presentations: its operational Ed25519 key, the one the home server’s operator pinned for it.

Required Methods§

Source

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

The Ed25519 signature over message.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§