An opaque type that represents an SSL session context object.


class SSLContext


The SSL session context object references the state associated with a session. You can't reuse an SSL session context in multiple sessions.

See Also

Session Context

enum SSLProtocolSide

The flags that indicate whether a context is for the server or client side of a connection.

enum SSLConnectionType

The flags that indicate whether a context is to be used for streaming or datagram-based communication.

func SSLContextGetTypeID() -> CFTypeID

Returns the Core Foundation type ID for context objects.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software