---
title: ssLv2
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/streamsocketsecuritylevel/sslv2
---

# ssLv2

Specifies that SSL version 2 be set as the security protocol for a socket stream.

## Declaration

```swift
static let ssLv2: StreamSocketSecurityLevel
```

## See Also

### Type Properties

- [negotiatedSSL](foundation/streamsocketsecuritylevel/negotiatedssl.md)
- [none](foundation/streamsocketsecuritylevel/none.md)
- [ssLv3](foundation/streamsocketsecuritylevel/sslv3.md)
- [tlSv1](foundation/streamsocketsecuritylevel/tlsv1.md)
