The types of operations that you can use a cryptographic key to perform.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
Framework
- Security
Declaration
enum SecKeyOperationType : CFIndex
The types of operations that you can use a cryptographic key to perform.
SDKs
Framework
enum SecKeyOperationType : CFIndex
func Sec Key Is Algorithm Supported(Sec Key, Sec Key Operation Type, Sec Key Algorithm) -> Bool
Returns a Boolean indicating whether a key is suitable for an operation using a certain algorithm.
func Sec Key Get Block Size(Sec Key) -> Int
Gets the block length associated with a cryptographic key.
func Sec Key Copy Attributes(Sec Key) -> CFDictionary?
Gets the attributes of a given key.
struct Sec Key Algorithm
The algorithms that cryptographic keys enable.