Contents

SecPolicyCopyProperties(_:)

Returns a dictionary containing a policy’s properties.

Declaration

func SecPolicyCopyProperties(_ policyRef: SecPolicy) -> CFDictionary?

Parameters

  • policyRef:

    The policy from which properties should be copied.

Return Value

A dictionary with the policy’s properties. See Security Policy Keys for a list of valid keys. In Objective-C, call the CFRelease function to free the dictionary’s memory when you are done with it.