- macOS 10.5+
Sec Credential Type Default
The default setting for determining whether to present UI is used.
Sec Credential Type With UI
Keychain operations on keys that have this credential are allowed to present UI if required.
Sec Credential Type No UI
Keychain operations on keys that have this credential are not allowed to present UI, and will fail if UI is required.
Key Generate Pair Async
Generates a public/private key pair.
Key Generate Symmetric
Generates a random symmetric key.
Key Create From Data
Constructs a SecKeyRef object for a symmetric key.
Key Derive From Password
Returns a key object in which the key data is derived from a password.
Key Wrap Symmetric
Wraps a symmetric key with another key.
Key Unwrap Symmetric
Unwraps a wrapped symmetric key.
Key Get Credentials
Returns an access credential for a key.
Key Get CSPHandle
Returns the CSSM CSP handle for a key.
Key Get CSSMKey
Retrieves a pointer to the
CSSM structure containing the key stored in a keychain item.
The supported sizes for keys of various common types.
The flags that indicate key usage in the
Key extension of a certificate.
Public Key Hash
A container for a 20-byte public key hash.
Key Create Pair
Creates an asymmetric key pair and stores it in a keychain.
Creates a symmetric key and optionally stores it in a keychain.