Skip to main content

SessionProofSigner

Type Alias SessionProofSigner 

Source
pub type SessionProofSigner = dyn Fn(&[u8; 32], &[u8]) -> Result<Vec<u8>, HandshakeError> + Send + Sync;
Expand description

Signs a v5 session proof with the station’s identity key for the client named, within the station’s budget (HandshakeError::SessionProofRate past it).