Function

SecTaskCreateFromSelf(_:)

Creates a task object for the current task.

Declaration

func SecTaskCreateFromSelf(_ allocator: CFAllocator?) -> SecTask?

Parameters

allocator

An allocator. Pass NULL to use the default.

Return Value

A new task, or nil on error.

See Also

Tasks

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.

func SecTaskGetTypeID() -> CFTypeID

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