UsmUserConfig

Type Alias UsmUserConfig 

Source
pub type UsmUserConfig = UsmConfig;
Expand description

Type alias for backward compatibility.

Aliased Type§

pub struct UsmUserConfig {
    pub username: Bytes,
    pub auth: Option<(AuthProtocol, Vec<u8>)>,
    pub privacy: Option<(PrivProtocol, Vec<u8>)>,
    pub master_keys: Option<MasterKeys>,
}

Fields§

§username: Bytes

Username for USM authentication

§auth: Option<(AuthProtocol, Vec<u8>)>

Authentication protocol and password

§privacy: Option<(PrivProtocol, Vec<u8>)>

Privacy protocol and password

§master_keys: Option<MasterKeys>

Pre-computed master keys for efficient key derivation