CWKeychainSetWiFiEAPIdentity

Function CWKeychainSetWiFiEAPIdentity 

Source
pub unsafe extern "C-unwind" fn CWKeychainSetWiFiEAPIdentity(
    domain: CWKeychainDomain,
    ssid: &NSData,
    identity: Option<&SecIdentity>,
) -> i32
Available on crate features CoreWLANTypes and CoreWLANUtil and objc2-security only.
Expand description

Parameter domain: The keychain domain, which determines which keychain will be used.

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

Parameter identity: The identity containing the certificate to use for 802.1X authentication. Passing nil clears any identity association for the specified SSID.

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

Associates an identity to the specified SSID and keychain domain.