Function

SecTaskCopySigningIdentifier

Returns the value of the code signing identifier.

Declaration

CFStringRef SecTaskCopySigningIdentifier(SecTaskRef task, CFErrorRef  _Nullable *error);

Parameters

task

The task whose code signing identifier you want.

error

A pointer that the function uses to provide an error object with details if an error occurs. The caller becomes responsible for the object's memory. Pass NULL to ignore the error.

Return Value

A string representing the code signing identifier for the task, or NULL on error. Call the CFRelease function to free this string's memory when you are done with it.

See Also

Tasks

SecTaskCreateFromSelf

Creates a task object for the current task.

SecTaskCreateWithAuditToken

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

SecTaskRef

The Core Foundation type representing a task.

SecTaskGetTypeID

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

SecTaskCopyValueForEntitlement

Returns the value of a single entitlement for the represented task.

SecTaskCopyValuesForEntitlements

Returns the values of multiple entitlements for the represented task.