1.1.6.7 WDRV_WINC_AuthCtxSetWPAEnterpriseTLS Function

WDRV_WINC_STATUS WDRV_WINC_AuthCtxSetWPAEnterpriseTLS (

WDRV_WINC_AUTH_CONTEXT *const pAuthCtx, const char *const pUserDomain,

const uint8_t *const pPrivateKey, const uint16_t privateKeyLength, const uint8_t *const pCert,

const uint16_t certLength, const bool visibleUserName

)

C

Summary

Configure an authentication context for WPA(2)-Enterprise authentication using TLS.

Description

The type and state information are configured appropriately for WPA-Enterprise authentication.

Precondition

None.

Parameters

Param

Description

pAuthCtx

Pointer to an authentication context.

pUserDomain

Pointer to user and domain name.

pPrivateKey

Pointer to RSA private key in DER binary format.

privateKeyLength

Length of RSA private key.

pCert

Pointer to RSA certificate in DER binary format.

certLength

Length of RSA certificate.

visibleUserName

Flag indicating if usernames should be visible in initial EAP exchanges.

Returns

WDRV_WINC_STATUS_OK - The context has been configured.

WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

Remarks

None.