Function

SecTrustGetTypeID()

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

Declaration

func SecTrustGetTypeID() -> CFTypeID

Return Value

A value that identifies the opaque type of a SecTrust object.

Discussion

This function returns a value that uniquely identifies the opaque type of a SecTrust object. You can compare this value to the CFTypeID identifier obtained by calling the CFGetTypeID(_:) function on a specific object. These values might change from release to release or platform to platform.

See Also

Essentials

Creating a Trust Object

Construct a trust object from a certificate and a policy.

func SecTrustCreateWithCertificates(CFTypeRef, CFTypeRef?, UnsafeMutablePointer<SecTrust?>) -> OSStatus

Creates a trust management object based on certificates and policies.

class SecTrust

An object used to evaluate trust.