2.2.4.1 Rc4EncryptedPayload Structure
The Rc4EncryptedPayload structure MUST consist of the following structure, encrypted as specified in section 3.1.4.1.1.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
R3 (32 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
MAC (20 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
SID (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Secret (variable) |
|||||||||||||||||||||||||||||||
... |
R3 (32 bytes): This MUST be a random number 32 bytes in length.
MAC (20 bytes): This MUST be a 20-byte SHA-1 Hash-based Message Authentication Code (HMAC) [RFC2104] of the SID and Secret fields, computed as specified in section 3.1.4.1.1.
SID (variable): This MUST be a variable-length SID, marshaled in an RPC_SID structure ([MS-DTYP] section 2.4.2.3).
Secret (variable): This field MUST contain the secret to be wrapped.