---
title: SSLProtocolSide
framework: security
role: symbol
role_heading: Enumeration
path: security/sslprotocolside
---

# SSLProtocolSide

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

## Declaration

```swift
@frozen enum SSLProtocolSide
```

## Overview

Overview Use one of these flags with the SSLCreateContext(_:_:_:) function to indicate whether the context is intended for the server side or client side of a connection.

## Topics

### Constants

- [SSLProtocolSide.serverSide](security/sslprotocolside/serverside.md)
- [SSLProtocolSide.clientSide](security/sslprotocolside/clientside.md)

### Initializers

- [init(rawValue:)](security/sslprotocolside/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
