Guest Attribute Dictionary Keys

Specify attributes of guest code.

Overview

Use these keys in the dictionary you supply as the attributes parameter to the SecHostCreateGuest, SecHostSetGuestStatus, and SecCodeCopyGuestWithAttributes functions.

Topics

Constants

kSecGuestAttributeArchitecture

A key whose value is a number representing the CPU type under which the guest code is designed to run.

kSecGuestAttributeCanonical

A key whose value is the guest code object for that guest.

kSecGuestAttributeHash

A key whose value is a data object containing the SHA-1 hash of the code directory.

kSecGuestAttributePid

A key whose value is an integer of type pid_t representing a process ID (PID), usually of the kernel’s guest.

kSecGuestAttributeSubarchitecture

A key whose value is a number representing the CPU subtype under which the guest code is designed to run.

See Also

Guest Code

Hosting Guest Code

Securely launch and manage plug-ins and other executable entities, known as guest code, from within your app acting as a host.

SecHostCreateGuest

Creates a new guest and describes its initial properties.

Deprecated
SecHostSetGuestStatus

Updates the status and attributes of a particular guest.

Deprecated
SecCodeCopyGuestWithAttributes

Asks a code host to identify one of its guests given the type and value of specific attributes of the guest code.

Null Guest Handle

Use this special value to stand in for a null guest object.

SecCodeStatus

Operational flags attached by code signing services to running code.

Guest Creation Flags

Use these supplemental flags to create a guest object.

SecGuestRef

A reference to a guest object, which identifies a particular block of guest code in the context of its code signing host.