Contents

SecCodeCheckValidityWithProcessRequirement(code:flags:requirement:)

Checks whether the code associated with a running process satisfies a lightweight code requirement.

Declaration

func SecCodeCheckValidityWithProcessRequirement(code: SecCode, flags: SecCSFlags, requirement: ProcessCodeRequirement) -> ValidationResult

Discussion

Returns a validation result which indicates whether the code signature is valid, whether it matches the requirement, and if not one of those two, then why not.

See Also

Checking code requirements for launching processes