---
title: kCFStreamSocketSecurityLevelTLSv1
framework: corefoundation
role: symbol
role_heading: Global Variable
path: corefoundation/kcfstreamsocketsecurityleveltlsv1
---

# kCFStreamSocketSecurityLevelTLSv1

Specifies that TLS version 1 be set as the security protocol for a socket stream.

## Declaration

```swift
let kCFStreamSocketSecurityLevelTLSv1: CFString
```

## See Also

### Constants

- [kCFStreamSocketSecurityLevelNone](corefoundation/kcfstreamsocketsecuritylevelnone.md)
- [kCFStreamSocketSecurityLevelSSLv2](corefoundation/kcfstreamsocketsecuritylevelsslv2.md)
- [kCFStreamSocketSecurityLevelSSLv3](corefoundation/kcfstreamsocketsecuritylevelsslv3.md)
- [kCFStreamSocketSecurityLevelNegotiatedSSL](corefoundation/kcfstreamsocketsecuritylevelnegotiatedssl.md)
