Compartir a través de


2.2.10.5 KERB_KEY_DATA

The KERB_KEY_DATA structure holds a cryptographic key. This structure is used in conjunction with KERB_STORED_CREDENTIAL. For more information, see section 3.1.1.8.11.4.


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

Reserved1

Reserved2

Reserved3

KeyType

KeyLength

KeyOffset

Reserved1 (2 bytes): This value MUST be ignored by the recipient and MUST be set to zero.

Reserved2 (2 bytes): This value MUST be ignored by the recipient and MUST be set to zero.

Reserved3 (4 bytes): This value MUST be ignored by the recipient and MUST be set to zero.

KeyType (4 bytes): Indicates the type of key, stored as a 32-bit unsigned integer in little-endian byte order. This MUST be set to one of the following values, which are defined in section 2.2.10.8.

Value

Meaning

1

dec-cbc-crc

3

des-cbc-md5

KeyLength (4 bytes): The length, in bytes, of the value beginning at KeyOffset. The value of this field is stored in little-endian byte order.

KeyOffset (4 bytes): An offset, in little-endian byte order, from the beginning of the property value (that is, from the beginning of the Revision field of KERB_STORED_CREDENTIAL) to where the key value starts. The key value is the hash value specified according to the KeyType.