- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 76 for negotiation (0.35 seconds)
-
src/main/java/jcifs/internal/SmbNegotiation.java
*/ package jcifs.internal; /** * Container class for SMB protocol negotiation state. * Holds the negotiation request, response, and raw buffer data exchanged * between client and server during SMB protocol version negotiation. * * @author mbechler */ public final class SmbNegotiation { private final SmbNegotiationRequest request;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/SmbNegotiationResponse.java
/** * Check if the negotiation response is valid * * @param cifsContext the CIFS context * @param request the negotiation request * @return whether the protocol negotiation was successful */ boolean isValid(CIFSContext cifsContext, SmbNegotiationRequest request); /** * Gets the SMB dialect version selected by the server. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java
this.maxFragmentedSize = RdmaCapabilities.DEFAULT_MAX_FRAGMENTED_SIZE; } /** * Check if negotiation was successful * * @return true if successful, false otherwise */ public boolean isSuccess() { return status == 0; } /** * Get negotiation status * * @return status code (0 = success) */ public int getStatus() { return status;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
transport.close(); // release once } @Test @DisplayName("Server encryption key is returned for SMB1 negotiation only") void serverEncryptionKey() { // No negotiation yet -> null assertNull(transport.getServerEncryptionKey()); // SMB1 negotiation with server data SmbComNegotiateResponse smb1 = new SmbComNegotiateResponse(ctx); ServerData sd = smb1.getServerData();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/ServerData.java
*/ package jcifs.internal.smb1.com; /** * Container for SMB server negotiation data. * This class holds the server capabilities, configuration, and security * parameters received during SMB protocol negotiation. * * Stores server-specific data obtained during SMB1 protocol negotiation. */ public class ServerData { /** * Default constructor for ServerData.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
public NegTokenTarg(final byte[] token) throws IOException { parse(token); } /** * Gets the negotiation result code * @return the result code */ public int getResult() { return this.result; } /** * Sets the negotiation result code * @param result the result code to set */ public void setResult(final int result) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
void testConstructor() { // Verify all fields are properly initialized assertNotNull(negotiation); assertSame(mockRequest, negotiation.getRequest()); assertSame(mockResponse, negotiation.getResponse()); assertSame(testRequestBuffer, negotiation.getRequestRaw()); assertSame(testResponseBuffer, negotiation.getResponseRaw()); } @Test @DisplayName("Constructor with null request should work")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateRequest.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.rdma; /** * RDMA negotiation request parameters. * * Used during RDMA connection establishment to negotiate * protocol version and connection parameters. */ public class RdmaNegotiateRequest { private int minVersion;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 4K bytes - Click Count (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
/** * Enhanced Pre-Authentication Integrity Service for SMB 3.1.1. * * Provides comprehensive pre-authentication integrity protection against * downgrade attacks by maintaining cryptographic hash chains of all * negotiation and session setup messages. */ public class PreauthIntegrityService { private static final Logger log = LoggerFactory.getLogger(PreauthIntegrityService.class); // Hash algorithm constantsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
assertEquals(0, messageBytes[9] & 0xFF); assertEquals(0, messageBytes[10] & 0xFF); assertEquals(0, messageBytes[11] & 0xFF); } @Test @DisplayName("Should handle Unicode negotiation flag") void testUnicodeNegotiation() { // Given int unicodeFlags = NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE; int oemFlags = NtlmFlags.NTLMSSP_NEGOTIATE_OEM; // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0)