---
title: SSLProtocol.sslProtocol3Only
framework: security
role: symbol
role_heading: Case
path: security/sslprotocol/sslprotocol3only
---

# SSLProtocol.sslProtocol3Only

Specifies that only the SSL 3.0 protocol may be negotiated; fails if the peer tries to negotiate the SSL 2.0 protocol. Deprecated in iOS.

## Declaration

```swift
case sslProtocol3Only
```
