Class

SecCode

A code object representing signed code running on the system.

Declaration

class SecCode

Overview

In many function calls, a value of type SecCode can be passed to a parameter that is typed as a SecStaticCode. In these cases, the function performs an implicit call to the SecCodeCopyStaticCode(_:_:_:) function and operates on the result.

See Also

Code Objects

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.

func SecCodeGetTypeID() -> CFTypeID

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