Partager via


2.2.1.2.128 EAPTLS_USER_PROPERTIES

The EAPTLS_USER_PROPERTIES structure is used to store the EAP Transport Layer Security (TLS) user properties.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

reserved

dwVersion

dwSize

fFlags

Hash (24 bytes)

...

...

pwszDiffUser

dwPinOffset

pwszPin

usLength

usMaximumLength

ucSeed

awszString (variable)

...

reserved (4 bytes): This MUST be 0x00000000.

dwVersion (4 bytes): This MUST be 0x00000001.

dwSize (4 bytes): This MUST be the number of bytes in this structure.

fFlags (4 bytes): Unused; it MUST be set to 0x00000000.

Hash (24 bytes): An EAPTLS_HASH (section2.2.1.2.127) structure that MUST contain the hash for the user certificate. 

pwszDiffUser (4 bytes): Pointer to a null-terminated Unicode string that contains the EAP identity to send. The string SHOULD be stored starting at awszString.

dwPinOffset (4 bytes): Offset from the end of this structure to where the PIN is stored. This SHOULD be set to sizeof(pwszDiffUser).

pwszPin (4 bytes): Pointer to a null-terminated Unicode string that contains the smart card PIN.

usLength (2 bytes): Unused; it MUST be set to zero (0).

usMaximumLength (2 bytes): Unused; it MUST be set to zero (0).

ucSeed (1 byte): Unused; it MUST be set to zero (0).

awszString (variable): Storage for pwszDiffUser and pwszPin.