1.2.6.7 WDRV_WINC_AuthCtxSetWPAEnterpriseTLS Function

C

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
)

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

ParamDescription
pAuthCtxPointer to an authentication context.
pUserDomainPointer to user and domain name.
pPrivateKeyPointer to RSA private key in DER binary format.
privateKeyLengthLength of RSA private key.
pCertPointer to RSA certificate in DER binary format.
certLengthLength of RSA certificate.
visibleUserNameFlag 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.