---
title: SSLSessionState
framework: security
role: symbol
role_heading: Enumeration
path: security/sslsessionstate
---

# SSLSessionState

The flags that represent the state of an SSL session.

## Declaration

```swift
@frozen enum SSLSessionState
```

## Topics

### Constants

- [SSLSessionState.idle](security/sslsessionstate/idle.md)
- [SSLSessionState.handshake](security/sslsessionstate/handshake.md)
- [SSLSessionState.connected](security/sslsessionstate/connected.md)
- [SSLSessionState.closed](security/sslsessionstate/closed.md)
- [SSLSessionState.aborted](security/sslsessionstate/aborted.md)

### Initializers

- [init(rawValue:)](security/sslsessionstate/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)
