Contents

SecPolicySetProperties

Sets properties for a policy.

Declaration

OSStatus SecPolicySetProperties(SecPolicyRef policyRef, CFDictionaryRef properties);

Parameters

  • policyRef:

    The policy to alter

  • properties:

    A CFDictionaryRef object containing the new set of properties. For a list of valid property keys, see Security Policy Keys.

Return Value

A result code. See Security Framework Result Codes.