1.1.29.2.9 WDRV_WINC_TLSCipherSuiteAlgGet

C

WDRV_WINC_STATUS WDRV_WINC_TLSCipherSuiteAlgGet
(
    DRV_HANDLE handle,
    WDRV_WINC_TLS_CS_HANDLE tlsCsHandle,
    const WDRV_WINC_TLS_CS_CALLBACK pfTlsCsResponseCB,
    bool getDefaults
)

Description

Gets the current or default cipher suite algorithms set for a given context.

Precondition

WDRV_WINC_Initialize must have been called.

WDRV_WINC_Open must have been called to obtain a valid handle.

WDRV_WINC_TLSCipherSuiteOpen must have been called to obtain a valid TLS cipher suite handle.

Parameters

ParametersDescription
handleClient handle obtained by a call to WDRV_WINC_Open.
tlsCsHandleTLS cipher suite handle obtained by a call to WDRV_WINC_TLSCipherSuiteOpen.
pfTlsCsResponseCBPointer to user callback for the get response.
getDefaultsFlag indicating if default values should be returned.

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.

  • WDRV_WINC_STATUS_RETRY_REQUEST - Another request is being processed, try again.

Remarks

None.