pub fn build_response_full(
dialect: u16,
guid: &[u8; 16],
now: u64,
salt: &[u8; 32],
encryption: Option<u16>,
signing_algo: Option<u16>,
compression: &[u16],
compression_chained: bool,
require_signing: bool,
notifications: bool,
) -> Vec<u8> ⓘExpand description
Build the NEGOTIATE response body (§2.2.3.1) — no security blob (clients initiate NTLMSSP in SESSION_SETUP).
For dialect 3.1.1 the response carries negotiate contexts ([MS-SMB2] §2.2.3.1.1): PREAUTH_INTEGRITY_CAPABILITIES announcing SHA-512 with a random salt.