Function

SSLGetProtocolVersionMin

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

Declaration

OSStatus SSLGetProtocolVersionMin(SSLContextRef context, SSLProtocol *minVersion);

Parameters

context

The SSL context associated with the connection.

minVersion

The address of an SSLProtocol integer where the minimum version should be stored. See SSLProtocol for a list of possible values.

Return Value

A result code. See Secure Transport Result Codes.

See Also

Versions

SSLSetProtocolVersionMax

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

SSLSetProtocolVersionMin

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

SSLGetProtocolVersionMax

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

SSLGetNegotiatedProtocolVersion

Obtains the negotiated protocol version of the active session.

SSLProtocol

An enumeration of valid SSL protocol versions.