Function

SecCodeGetTypeID()

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

Declaration

func SecCodeGetTypeID() -> CFTypeID

Return Value

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

Discussion

You can compare the value returned by this function 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

Code Objects

class SecCode

A code object representing signed code running on the system.

func SecCodeCopySelf(SecCSFlags, UnsafeMutablePointer<SecCode?>) -> OSStatus

Retrieves the code object for the code making the call.

struct SecCSFlags

Values that can be used in the flags parameter to most code signing functions.