---
title: kCFStreamSocketSecurityLevelSSLv2
framework: corefoundation
role: symbol
role_heading: Global Variable
path: corefoundation/kcfstreamsocketsecuritylevelsslv2
---

# kCFStreamSocketSecurityLevelSSLv2

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

## Declaration

```swift
let kCFStreamSocketSecurityLevelSSLv2: CFString
```

## See Also

### Constants

- [kCFStreamSocketSecurityLevelNone](corefoundation/kcfstreamsocketsecuritylevelnone.md)
- [kCFStreamSocketSecurityLevelSSLv3](corefoundation/kcfstreamsocketsecuritylevelsslv3.md)
- [kCFStreamSocketSecurityLevelTLSv1](corefoundation/kcfstreamsocketsecurityleveltlsv1.md)
- [kCFStreamSocketSecurityLevelNegotiatedSSL](corefoundation/kcfstreamsocketsecuritylevelnegotiatedssl.md)
