2.2.2.13 Nonce

The Nonce attribute is specified in [IETFDRAFT-TURN-08] section 9.2.8. The value of the Nonce attribute is used for replay protection and SHOULD be encoded by the TURN server in such a way as to indicate duration of validity or the protocol client identity for which it is valid. This protocol uses the attribute in the digest challenge extension specified in section 3.1.12.


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

Attribute Type

Attribute Length

Nonce

...

Attribute Type (2 bytes): The TURN attributes are specified in [IETFDRAFT-STUN-02] section 10.2 and [IETFDRAFT-TURN-08] section 9.2. Set to "0x0014".

Attribute Length (2 bytes): The length of bytes of the Nonce field. The Nonce field length MUST NOT exceed 128 bytes.

Nonce (variable): Variable length of data used as a nonce value. This nonce value length MUST NOT exceed 128 bytes.