SecPolicyCreateWithProperties(_:_:)
Returns a policy object based on an object identifier for the policy type.
Declaration
func SecPolicyCreateWithProperties(_ policyIdentifier: CFTypeRef, _ properties: CFDictionary?) -> SecPolicy?Parameters
- policyIdentifier:
The identifier for the desired policy type.
- properties:
A properties dictionary. See Security Policy Keys for a list of valid property names to use as keys in this dictionary.
Mentioned in
Return Value
A new policy, or NULL if the policy could not be created.