---
title: "cipherSuites(_:)"
framework: Network
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: "network/dtls/ciphersuites(_:)"
---

# cipherSuites(_:)

Set DTLS ciphersuites to the set of enabled ciphersuites.

## Declaration

```swift
func cipherSuites(_ suites: [tls_ciphersuite_t]) -> DTLS
```

## Parameters

- `suites`: The cipher suites to set.
