CWKeychainSetEAPUsernameAndPassword

Function CWKeychainSetEAPUsernameAndPassword 

Source
pub unsafe extern "C-unwind" fn CWKeychainSetEAPUsernameAndPassword(
    ssid_data: &CFData,
    username: Option<&CFString>,
    password: Option<&CFString>,
) -> i32
👎Deprecated: Use CWKeychainSetWiFiEAPUsernameAndPassword() instead
Available on crate features CoreWLANUtil and objc2-core-foundation only.
Expand description

Parameter ssidData: The service set identifier (SSID) which is used to uniquely identify the keychain item.

Parameter username: The 802.1X username.

Parameter password: The 802.1X password. This parameter is optional.

Returns: An OSStatus error code indicating whether or not a failure occurred. errSecSuccess indicates no error occurred.

Sets the 802.1X username and password for the specified SSID. The keychain used is determined by the SecPreferencesDomain of the caller as returned by SecKeychainGetPreferenceDomain().