1.1.19.7 WDRV_WINC_TLSCtxCipherSuiteSet

Function

WDRV_WINC_STATUS WDRV_WINC_TLSCtxCipherSuiteSet
(
DRV_HANDLE handle,
WDRV_WINC_TLS_HANDLE tlsHandle,
WDRV_WINC_TLS_CS_HANDLE tlsCsHandle
)

Summary

Set the TLS cipher suite.

Description

Sets the TLS cipher suite.

Precondition

WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle. WDRV_WINC_TLSCtxOpen should have been called to obtain a valid TLS handle.

Parameters

handle - Client handle obtained by a call to WDRV_WINC_Open.

tlsHandle - TLS handle obtained by a call to WDRV_WINC_TLSCtxOpen.

tlsCsHandle - TLS cipher suite handle obtained by a call to WDRV_WINC_TLSCipherSuiteOpen.

Returns

WDRV_WINC_STATUS_OK - The request has been accepted.

WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.

WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

WDRV_WINC_STATUS_REQUEST_ERROR - The request to the WINC was rejected.

Remarks

None.