Enumeration

SecRequirementType

An enumeration indicating different types of internal requirements for code.

Declaration

typedef enum SecRequirementType : uint32_t {
    ...
} SecRequirementType;

Overview

These constants are indexes into requirement sets and are not currently used in any public API.

Topics

Constants

kSecHostRequirementType

What hosts may run this code.

kSecGuestRequirementType

What guests this code may run.

kSecDesignatedRequirementType

A designated requirement.

kSecLibraryRequirementType

What libraries this code may link against.

kSecPluginRequirementType

What plug-ins this code may load.

kSecInvalidRequirementType

Invalid type of requirement.

kSecRequirementTypeCount

The number of valid requirement types.

See Also

Code Requirements

Applying Code Requirements

Manage the code requirements that apply to your signed code.

SecCodeCopyDesignatedRequirement

Retrieves the designated code requirement of signed code.

SecRequirementRef

A code requirement object.

SecRequirementGetTypeID

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