Enumeration

tls_protocol_version_t

The collection of supported TLS and DTLS versions.

Declaration

enum tls_protocol_version_t : UInt16

Topics

Protocol Versions

case TLSv10

The TLS 1.0 protocol.

case TLSv11

The TLS 1.1 protocol.

case TLSv12

The TLS 1.2 protocol.

case TLSv13

The TLS 1.3 protocol.

case DTLSv10

The DTLS 1.0 protocol.

case DTLSv12

The DTLS 1.2 protocol.

See Also

Versions

func SSLSetProtocolVersionMax(SSLContext, SSLProtocol) -> OSStatus

Sets the maximum protocol version allowed by the application for a given SSL context.

Deprecated
func SSLSetProtocolVersionMin(SSLContext, SSLProtocol) -> OSStatus

Sets the minimum protocol version allowed by the application for a given SSL context.

Deprecated
func SSLGetProtocolVersionMax(SSLContext, UnsafeMutablePointer<SSLProtocol>) -> OSStatus

Gets the maximum protocol version allowed by the application for a given SSL context.

Deprecated
func SSLGetProtocolVersionMin(SSLContext, UnsafeMutablePointer<SSLProtocol>) -> OSStatus

Gets the minimum protocol version allowed by the application for a given SSL context.

Deprecated
func SSLGetNegotiatedProtocolVersion(SSLContext, UnsafeMutablePointer<SSLProtocol>) -> OSStatus

Obtains the negotiated protocol version of the active session.

Deprecated
enum SSLProtocol

An enumeration of valid SSL protocol versions.