次の方法で共有


2.2.3.1.7 SMB2_SIGNING_CAPABILITIES

The SMB2_SIGNING_CAPABILITIES context is specified in an SMB2 NEGOTIATE request by the client to indicate which signing algorithms the client supports. The format of the data in the Data field of this SMB2_NEGOTIATE_CONTEXT is as follows.


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

SigningAlgorithmCount

SigningAlgorithms (variable)

SigningAlgorithmCount (2 bytes): The number of signing algorithms in the SigningAlgorithms array. This value MUST be greater than zero.

SigningAlgorithms (variable): An array of 16-bit integer IDs specifying the supported signing algorithms. These IDs MUST be in an order such that the most preferred signing algorithm MUST be at the beginning of the array and least preferred signing algorithm at the end of the array. The following IDs are defined.

Value

Meaning

0x0000

HMAC-SHA256

0x0001

AES-CMAC

0x0002

AES-GMAC