ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
Smb2NegotiateContexts Struct Reference

Parsed SMB 3.1.1 NEGOTIATE-response negotiate contexts (MS-SMB2 §2.2.4 / §2.2.3.1). More...

#include <smb2.h>

Public Attributes

proto_bool have_preauth
 a PREAUTH_INTEGRITY_CAPABILITIES context was present
 
uint16_t hash_algorithm
 the server's chosen preauth hash (expect SMB2_PREAUTH_INTEGRITY_SHA512)
 
const uint8_t * salt
 the preauth-integrity salt (points into msg), or nullptr
 
uint16_t salt_len
 length of salt
 
proto_bool have_signing
 a SIGNING_CAPABILITIES context was present
 
uint16_t signing_algorithm
 the server's chosen signing algorithm
 
proto_bool have_encryption
 an ENCRYPTION_CAPABILITIES context was present
 
uint16_t cipher
 the server's chosen cipher
 

Detailed Description

Parsed SMB 3.1.1 NEGOTIATE-response negotiate contexts (MS-SMB2 §2.2.4 / §2.2.3.1).

Definition at line 196 of file smb2.h.

Member Data Documentation

◆ have_preauth

proto_bool Smb2NegotiateContexts::have_preauth

a PREAUTH_INTEGRITY_CAPABILITIES context was present

Definition at line 198 of file smb2.h.

◆ hash_algorithm

uint16_t Smb2NegotiateContexts::hash_algorithm

the server's chosen preauth hash (expect SMB2_PREAUTH_INTEGRITY_SHA512)

Definition at line 199 of file smb2.h.

◆ salt

const uint8_t* Smb2NegotiateContexts::salt

the preauth-integrity salt (points into msg), or nullptr

Definition at line 200 of file smb2.h.

◆ salt_len

uint16_t Smb2NegotiateContexts::salt_len

length of salt

Definition at line 201 of file smb2.h.

◆ have_signing

proto_bool Smb2NegotiateContexts::have_signing

a SIGNING_CAPABILITIES context was present

Definition at line 202 of file smb2.h.

◆ signing_algorithm

uint16_t Smb2NegotiateContexts::signing_algorithm

the server's chosen signing algorithm

Definition at line 203 of file smb2.h.

◆ have_encryption

proto_bool Smb2NegotiateContexts::have_encryption

an ENCRYPTION_CAPABILITIES context was present

Definition at line 204 of file smb2.h.

◆ cipher

uint16_t Smb2NegotiateContexts::cipher

the server's chosen cipher

Definition at line 205 of file smb2.h.


The documentation for this struct was generated from the following file: