SSLCreateContext(_:_:_:)
Allocates and returns a new context.
Declaration
func SSLCreateContext(_ alloc: CFAllocator?, _ protocolSide: SSLProtocolSide, _ connectionType: SSLConnectionType) -> SSLContext?Parameters
- alloc:
The allocator to use. Pass
NULLor Kcfallocatordefault to use the default allocator. - protocolSide:
Either Serverside or Clientside.
- connectionType:
Either Streamtype or Datagramtype.
Mentioned in
Return Value
A new context. In Objective-C, use CFRelease to release this object’s memory when you are done with it.