Function

SecTaskGetTypeID()

Returns the unique identifier of the opaque type to which a task object belongs.

Declaration

func SecTaskGetTypeID() -> CFTypeID

Return Value

A value that identifies the opaque type of a SecTask object.

Discussion

This function returns a value that uniquely identifies the opaque type of a SecTask object. You can compare this value to the CFTypeID identifier obtained by calling the CFGetTypeID(_:) function on a specific object. These values might change from release to release or platform to platform.

See Also

Tasks

func SecTaskCreateFromSelf(CFAllocator?) -> SecTask?

Creates a task object for the current task.

func SecTaskCreateWithAuditToken(CFAllocator?, audit_token_t) -> SecTask?

Creates a task object for the task that sent the Mach message represented by the audit token.

class SecTask

The Core Foundation type representing a task.