Contents

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 NULL on error. In Objective-C, call the CFRelease function to free this task’s memory when you are done with it.