2.2.4 Security Header
The security header is a wrapper for the Security ORPC Extension defined in [MS-COM] section 2.2.3.2. It is used to capture the current security context so that it can be recreated on the COMQC server when the stored calls are being dispatched.
The security properties stored in this header MUST be applied to all method calls following the security header in the message until another security header or security reference header (section 2.2.5) is encountered.
If the security properties of a method call are identical to the security properties of the method call stored in the message immediately prior to the current method call, a security header SHOULD NOT be included.
If the security properties are identical to the security context of any other previous method call, a security reference header SHOULD be included instead. Otherwise, a full security header MUST be included.
A security header MUST be included before the first method call.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Header Signature |
|||||||||||||||||||||||||||||||
|
Size |
|||||||||||||||||||||||||||||||
|
Security Data Size |
|||||||||||||||||||||||||||||||
|
Header Padding |
|||||||||||||||||||||||||||||||
|
Security Data (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
Data Padding (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
Header Signature (4 bytes): MUST be set to "SECD" in ASCII (0x44434553).
Size (4 bytes): The size, in bytes, of the security header.
Security Data Size (4 bytes): The size, in bytes, of the Security Data field.
Header Padding (4 bytes): Aligns the Security Data field on an 8-byte boundary. MUST be set to 0 and ignored on receipt.
Security Data (variable): The Security ORPC Extension as defined in [MS-COM] section 2.2.3.2.
Data Padding (variable): Enough space to extend the header to an 8-byte boundary. MUST be set to 0 and ignored on receipt.