Function

sec_identity_create_with_certificates

Creates a sec_identity_t from an array of SecCertificateRef objects.

Declaration

sec_identity_t sec_identity_create_with_certificates(SecIdentityRef identity, CFArrayRef certificates);

See Also

Handling Identities

sec_protocol_options_set_local_identity

Configures a specific local identity to present in the TLS handshake.

OS_sec_identity

An interface for supporting the identity wrapper type.

sec_identity_access_certificates

Accesses the list of certificates associated with an identity.

sec_identity_copy_certificates_ref

Copies the array of certificates associated with an identity.