// ntifs.h
typedef struct _SEC_CHANNEL_BINDINGS_EX {
unsigned long magicNumber;
unsigned long flags;
unsigned long cbHeaderLength;
unsigned long cbStructureLength;
unsigned long dwInitiatorAddrType;
unsigned long cbInitiatorLength;
unsigned long dwInitiatorOffset;
unsigned long dwAcceptorAddrType;
unsigned long cbAcceptorLength;
unsigned long dwAcceptorOffset;
unsigned long cbApplicationDataLength;
unsigned long dwApplicationDataOffset;
} SEC_CHANNEL_BINDINGS_EX, *PSEC_CHANNEL_BINDINGS_EX;
View the official Windows Driver Kit DDI referenceNo description available.
The SEC_CHANNEL_BINDINGS_EX structure is used to provide channel binding information for a security context.
magicNumberContains SEC_CHANNEL_BINDINGS_VERSION_2. This member ensures that the structure is correctly identified as an extended version, preventing misinterpretation as a standard channel bindings buffer.
flagsSpecifies additional options for channel bindings. The following flag is defined.
| Flag | Description |
|---|---|
| SEC_CHANNEL_BINDINGS_VALID_FLAGS | Indicates that auditing is required for operations involving these channel bindings. |
cbHeaderLengthLength in bytes of the header portion of the structure.
cbStructureLengthTotal length in bytes of the entire structure, including the header and all channel binding data.
dwInitiatorAddrTypeAddress type of the initiator, indicating the format of the initiator's address.
cbInitiatorLengthLength in bytes of the initiator's address data.
dwInitiatorOffsetOffset in bytes from the start of structure to the initiator's address data.
dwAcceptorAddrTypeAddress type of the acceptor, indicating the format of the acceptor's address.
cbAcceptorLengthLength in bytes of the acceptor's address data.
dwAcceptorOffsetOffset in bytes from the start of the structure to the acceptor's address data.
cbApplicationDataLengthLength in bytes of the application-specific data.
dwApplicationDataOffsetOffset in bytes from the start of the structure to the application-specific data.