---
title: "sec_protocol_metadata_get_negotiated_ciphersuite(_:)"
framework: security
role: symbol
role_heading: Function
path: "security/sec_protocol_metadata_get_negotiated_ciphersuite(_:)"
---

# sec_protocol_metadata_get_negotiated_ciphersuite(_:)

## Declaration

```swift
func sec_protocol_metadata_get_negotiated_ciphersuite(_ metadata: sec_protocol_metadata_t) -> SSLCipherSuite
```

## Parameters

- `metadata`: A sec_protocol_metadata_t instance.

## Return Value

Return Value A SSLCipherSuite.

## Discussion

Discussion Get the negotiated TLS ciphersuite.
