2.2.3.1.1 Password

If the version of the Security Properties packet (section 2.2.3.1) is 1.1 the following MUST be appended to the end of the Security Properties record:


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

Authentication Flags

Number of Passwords

Password Hash Length

Password Hash (variable)

Password Role UUID (16 bytes)

...

...

Authentication Flags (4 bytes): A set of flags indicating which authentication schemes are supported in this group. These fields are fixed at group creation time and MUST NOT be modified.


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

0

0

0

0

0

0

P

G

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Value

Description

G

                

GMCs can be used for authenticating members into the Group.

P

                

Passwords can be used for authenticating members into the Group.

Number of Passwords (4 bytes): An unsigned binary integer containing the number of passwords that are active in the group, in little-endian byte order. This value MUST be 0x00000001.

Password Hash Length (4 bytes): An unsigned binary integer containing the length of the following string, in bytes, including the NULL-terminator, in little-endian byte order.

Password Hash (variable): The SHA-1 hash of the password, encoded as a string. See section 2.2.1.2 for details.

Password Role UUID (16 bytes): The role that a new member receives when joining the group using this password, encoded as a little-endian UUID. The UUID MUST be one of the legal UUIDs listed in section 2.2.5.3.