Function

sec_retain

Adds a reference count to a security object.

Declaration

void * sec_retain(void *obj);

See Also

Managing Security Objects

sec_release

Releases a reference count on a security object.

sec_object_t

The generic type for security objects used with the Network framework.

OS_sec_object

An interface that supports the generic type for security objects used with the Network framework.

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