<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SSLProtocolSide",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@E@SSLProtocolSide"
  },
  "title" : "SSLProtocolSide"
}
-->

# SSLProtocolSide

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

```
@frozen enum SSLProtocolSide
```

## Overview

Use one of these flags with the [`SSLCreateContext(_:_:_:)`](/documentation/Security/SSLCreateContext(_:_:_:)) function to indicate whether the context is intended for the server side or client side of a connection.

## Topics

### Constants

[`SSLProtocolSide.serverSide`](/documentation/Security/SSLProtocolSide/serverSide)

Server side.

[`SSLProtocolSide.clientSide`](/documentation/Security/SSLProtocolSide/clientSide)

Client side.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)