4.1.10.2.20 ENCRYPTED_PAYLOAD

The ENCRYPTED_PAYLOAD packet is the concrete type for a value of an encrypted attribute.

 typedef struct {
    UCHAR Salt[16];
    ULONG CheckSum;
    UCHAR EncryptedData[];
 } ENCRYPTED_PAYLOAD;


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

Salt (16 bytes)

...

...

CheckSum

EncryptedData (variable)

...

Salt (16 bytes): A 128-bit randomly generated value.

CheckSum (4 bytes): A 32-bit CRC32 checksum of the data that is encrypted along with the data.

EncryptedData (variable): A variable-length byte array that represents the encrypted value.