pub trait HostKeyProvider {
// Required methods
fn host_public_key(&self) -> &[u8];
fn sign_exchange_hash(
&mut self,
exchange_hash: &[u8],
out: &mut [u8],
) -> Result<usize>;
}Required Methods§
Sourcefn host_public_key(&self) -> &[u8]
fn host_public_key(&self) -> &[u8]
Implements host public key.