Represents EAP-TLS parameters.

Syntax

typedef struct {
    unsigned char   au8Domain[M2M_AUTH_1X_USER_LEN_MAX + 1];
    unsigned char   reserve1[M2M_AUTH_1X_USER_OLD_LEN_SUB];
    unsigned char   au8UserName[M2M_AUTH_1X_USER_LEN_MAX + 1];
    unsigned char   reserve2[M2M_AUTH_1X_USER_OLD_LEN_SUB];
    unsigned short  u16DomainLen;
    unsigned short  u16UserNameLen;
    int             bUnencryptedUserName;
    int             bPrependDomain;
    unsigned char   clientcertIndex;
} tstrEapTls;

Members

au8Domain
Domain name (0 if not needed).
reserve1
Adjustment bytes.
au8UserName
User name.
reserve2
Adjustment bytes.
u16DomainLen
The length of the domain name (0 if not needed).
u16UserNameLen
The length of the username.
bUnencryptedUserName
FALSE to encrypt the user name.
TRUE if the username is not encrypted.
bPrependDomain
FALSE if the domain name follows the user name.
TRUE if the domain name precedes the user name.
clientcertIndex
Specifies the index of the client certificate. (0-4)

Requirements

Header file:
lib.h
Library file:
libSTARTUPOPH5000.a

Last updated: 2020/10/28