pub trait ToPsk {
// Required method
fn to_psk(&self, ssid: &Ssid) -> CommonPsk;
}
Expand description
Conversion of WPA credentials to a PSK.
Required Methods§
Implementations on Foreign Types§
Source§impl ToPsk for Wpa1Credentials
impl ToPsk for Wpa1Credentials
Conversion of WPA1 credentials to a PSK.
RSN specifies that PSKs are used as-is and passphrases are transformed into a PSK. This implementation performs this transformation when necessary for WPA1 credentials.
Source§impl ToPsk for Wpa2PersonalCredentials
impl ToPsk for Wpa2PersonalCredentials
Conversion of WPA2 Personal credentials to a PSK.
RSN specifies that PSKs are used as-is and passphrases are transformed into a PSK. This implementation performs this transformation when necessary for WPA2 Personal credentials.