- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 119 for negotiator (0.11 sec)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
// When int bytesWritten = request.writeBytesWireFormat(buffer, 0); // Then assertTrue(bytesWritten > 36); // Verify negotiate context count assertEquals(2, SMBUtil.readInt2(buffer, 32)); // Verify negotiate context offset is set int contextOffset = SMBUtil.readInt4(buffer, 28); assertTrue(contextOffset > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
assertTrue(true, "Negotiate context data length validation exists in code (max 1024 bytes)"); } catch (SMBProtocolDecodingException e) { // If exception thrown, validation is working assertTrue(e.getMessage().contains("Invalid negotiate context data length") || e.getMessage().contains("Buffer too small")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java
import jcifs.RuntimeCIFSException; import jcifs.internal.SmbNegotiationRequest; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.util.Strings; /** * SMB1 Negotiate Protocol request message. * * This command is used to negotiate the SMB protocol dialect * and security parameters between client and server. */ public class SmbComNegotiate extends ServerMessageBlock implements SmbNegotiationRequest {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/NegotiateContextResponse.java
import jcifs.Decodable; /** * SMB2 Negotiate Context response data structure. * * This class represents negotiate contexts returned by the server * in response to negotiate context requests. * * @author mbechler */ public interface NegotiateContextResponse extends Decodable { /** * Gets the negotiate context type. * * @return the SMB2 negotiate context type */ int getContextType();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt
internal const val B0_FLAG_FIN = 128 /** Byte 0 reserved flag 1. Must be 0 unless negotiated otherwise. */ internal const val B0_FLAG_RSV1 = 64 /** Byte 0 reserved flag 2. Must be 0 unless negotiated otherwise. */ internal const val B0_FLAG_RSV2 = 32 /** Byte 0 reserved flag 3. Must be 0 unless negotiated otherwise. */ internal const val B0_FLAG_RSV3 = 16 /** Byte 0 mask for the frame opcode. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java
package jcifs.internal.smb2.nego; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * SMB2 Pre-authentication Integrity Negotiate Context. * * This negotiate context is used in SMB 3.1.1 to establish * pre-authentication integrity protection against downgrade attacks. * * @author mbechler */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (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) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (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.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (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 constants
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
// Arrange & Act SmbUnsupportedOperationException ex = new SmbUnsupportedOperationException(); // Assert assertEquals("Operation is not supported with the negotiated capabilities", ex.getMessage(), "Default message should match the class contract"); assertNull(ex.getCause(), "No cause expected from default constructor");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0)