An abstract Core Foundation-type object representing an identity.


class SecIdentity


A SecIdentity object contains a SecKey object and an associated SecCertificate object.

See Also


Creating an Identity

Create an identity from a certificate and private key.

Storing an Identity in the Keychain

Securely store an identity in the keychain.

func SecIdentityGetTypeID() -> CFTypeID

Returns the unique identifier of the opaque type to which an identity object belongs.

Beta Software

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