Function

SecStaticCodeGetTypeID()

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

Declaration

func SecStaticCodeGetTypeID() -> CFTypeID

Return Value

A value that identifies the opaque type of a SecStaticCode 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

Static Code

class SecStaticCode

A static code object representing signed code on disk.

func SecStaticCodeCreateWithPath(CFURL, SecCSFlags, UnsafeMutablePointer<SecStaticCode?>) -> OSStatus

Creates a static code object representing the code at a specified file system path.

func SecStaticCodeCreateWithPathAndAttributes(CFURL, SecCSFlags, CFDictionary, UnsafeMutablePointer<SecStaticCode?>) -> OSStatus

Creates a static code object representing the code at a specified file system path using an attributes dictionary.

Code Attributes

Specify these keys from the attribute dictionary when you create a static code instance.