Class

SecPolicy

An object that represents a trust policy.

Declaration

class SecPolicy

See Also

Standard Policies

func SecPolicyCreateBasicX509() -> SecPolicy

Returns a policy object for the default X.509 policy.

func SecPolicyCreateSSL(Bool, CFString?) -> SecPolicy

Returns a policy object for evaluating SSL certificate chains.

func SecPolicyCreateRevocation(CFOptionFlags) -> SecPolicy?

Returns a policy object for checking revocation of certificates.

Revocation Policy Constants

Use these flags to create a revocation policy object.

func SecPolicyGetTypeID() -> CFTypeID

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