Returns a Boolean indicating whether a key is suitable for an operation using a certain algorithm.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+Beta
- tvOS 10.0+
- watchOS 3.0+
The key whose suitability you want to test.
The operation that you want to perform with the key. Use one of the values from
The algorithm that you want to perform with the key. Use one of the values from
A Boolean indicating whether the key can be used for the given operation and algorithm.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software