---
title: tlSv1
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/streamsocketsecuritylevel/tlsv1
---

# tlSv1

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

## Declaration

```swift
static let tlSv1: StreamSocketSecurityLevel
```

## See Also

### Type Properties

- [negotiatedSSL](foundation/streamsocketsecuritylevel/negotiatedssl.md)
- [none](foundation/streamsocketsecuritylevel/none.md)
- [ssLv2](foundation/streamsocketsecuritylevel/sslv2.md)
- [ssLv3](foundation/streamsocketsecuritylevel/sslv3.md)
