One Logo Pool Ball
Network · IOS API REFERENCE

QUIC.TLS

struct · iOS 26.0+ · SDK 27.1

struct TLS

The set of TLS options available when using QUIC. Used to configure the TLS handshake that runs within the QUIC handshake.

Members (4)

method · iOS 26.0+

cipherSuites

TypeScript
cipherSuites(suites: Array<_Security_tls_ciphersuite_t>): QUIC
Swift declaration
func cipherSuites(_ suites: [tls_ciphersuite_t]) -> QUIC

Set TLS cipher suites to the set of enabled ciphersuites. - Parameter suites: The cipher suites to set.

method · iOS 26.0+

localIdentity

TypeScript
localIdentity(identity: Implements<_Security_OS_sec_identity> | SDKHandle): QUIC
Swift declaration
func localIdentity(_ identity: sec_identity_t) -> QUIC

Set the local identity TLS uses during the QUIC handshake. - Parameter identity: The local identity to be used during the QUIC handshake.

method · iOS 26.0+

ciphersuiteGroups

TypeScript
ciphersuiteGroups(groups: Array<_Security_tls_ciphersuite_group_t>): QUIC
Swift declaration
func ciphersuiteGroups(_ groups: [tls_ciphersuite_group_t]) -> QUIC

Set TLS cipher suite groups to the set of enabled ciphersuites. - Parameter cipherSuiteGroups: The cipher suite groups to set.

method · iOS 26.0+

peerAuthentication

TypeScript
peerAuthentication(preference: TLS_PeerAuthentication): QUIC
Swift declaration
func peerAuthentication(_ preference: TLS.PeerAuthentication) -> QUIC

Specify a preference for how to authenticate the peer. - Parameter preference: The peer authentication preference.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

QUIC.TLS.certificateValidator(_:)

This Swift callback must itself suspend asynchronously. (nonthrowing, so a rejected promise cannot reach swift)

All Network types →