Code Attributes

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

Overview

Use these keys in the attribute dictionary when calling the SecStaticCodeCreateWithPathAndAttributes function.

Topics

Constants

kSecCodeAttributeArchitecture

A key whose value is a string that indicates an architecture, such as i386 or x86_64.

kSecCodeAttributeSubarchitecture

A key whose value is a string indicating a specific processor type, such as i686 or core2.

kSecCodeAttributeBundleVersion

A key whose value indicates the bundle version.

kSecCodeAttributeUniversalFileOffset

A key whose value indicates the offset of a Mach-O specific slice of a universal Mach-O file.

See Also

Static Code

SecStaticCodeRef

A static code object representing signed code on disk.

SecStaticCodeCreateWithPath

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

SecStaticCodeCreateWithPathAndAttributes

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

SecStaticCodeGetTypeID

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