Expand description
Support for password entries in the keychain. Works on both iOS and macOS.
If you want the extended keychain facilities only available on macOS, use the version of these functions in the macOS extensions module.
Functionsยง
- Delete the generic password keychain entry for the given service and account. If none exists, fails with error code
errSecItemNotFound
. - Delete the internet password for the given endpoint parameters. If none exists, fails with error code
errSecItemNotFound
. - Get the generic password for the given service and account. If no matching keychain entry exists, fails with error code
errSecItemNotFound
. - Get the internet password for the given endpoint parameters. If no matching keychain entry exists, fails with error code
errSecItemNotFound
. - Set a generic password for the given service and account. Creates or updates a keychain entry.
- Set an internet password for the given endpoint parameters. Creates or updates a keychain entry.