---
title: maximumSSLProtocolVersion
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/nwtlsparameters/maximumsslprotocolversion
---

# maximumSSLProtocolVersion

The maximum allowed SSLProtocol value to use when negotiating TLS.

## Declaration

```swift
var maximumSSLProtocolVersion: Int { get set }
```

## Discussion

Discussion Values for SSLProtocol are defined in <Security/SecureTransport.h>. If set to a non-zero value, the SSL handshake will not accept any protocol version greater than the maximum. important: This property should be used with caution, since it may limit the use of preferred SSL protocols.

## See Also

### Accessing TLS parameters

- [tlsSessionID](networkextension/nwtlsparameters/tlssessionid.md)
- [sslCipherSuites](networkextension/nwtlsparameters/sslciphersuites.md)
- [minimumSSLProtocolVersion](networkextension/nwtlsparameters/minimumsslprotocolversion.md)
