Structure

SecIdentityRef

An abstract Core Foundation-type object representing an identity.

Declaration

iOS, Mac Catalyst, tvOS, watchOS
typedef struct __SecIdentity SecIdentityRef;
macOS
typedef struct __SecIdentity *SecIdentityRef;

Overview

A SecIdentityRef object contains a SecKeyRef object and an associated SecCertificateRef object.

See Also

Essentials

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.

SecIdentityCreateWithCertificate

Creates a new identity for a certificate and its associated private key.

SecIdentityGetTypeID

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