- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 121 for negotiator (0.06 seconds)
-
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
throw new UnsupportedOperationException("RDMA write not supported by TCP fallback"); } @Override public RdmaNegotiateResponse negotiate(RdmaNegotiateRequest request) throws IOException { // For TCP fallback, we simulate successful negotiation RdmaNegotiateResponse response = new RdmaNegotiateResponse(); response.setStatus(0); // Success
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 8.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
) { } /** Called after the TLS handshake to release resources allocated by [configureTlsExtensions]. */ open fun afterHandshake(sslSocket: SSLSocket) { } /** Returns the negotiated protocol, or null if no protocol was negotiated. */ open fun getSelectedProtocol(sslSocket: SSLSocket): String? = null /** For MockWebServer. This returns the inbound SNI names. */Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 8.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
throw new IOException("DiSNI RDMA write failed", e); } } @Override public RdmaNegotiateResponse negotiate(RdmaNegotiateRequest request) throws IOException { // Simulate successful negotiation for skeleton implementation RdmaNegotiateResponse response = new RdmaNegotiateResponse(); response.setStatus(0); // Success
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Mock the negotiation response when(negotiationResponse.isSigningRequired()).thenReturn(false); when(negotiationResponse.isSigningNegotiated()).thenReturn(false); when(negotiationResponse.canReuse(any(CIFSContext.class), anyBoolean())).thenReturn(true); // Use reflection to set the negotiated responseCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
assertTrue(context.isEstablished()); assertArrayEquals(serverChallenge, context.getServerChallenge()); // Signing key may or may not be generated depending on flags negotiation // The context negotiates flags with server, so we can't guarantee signing key } @Test void testInitSecContext_state2_withoutSigning() throws Exception {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
assertNotNull(channelManager); assertNotNull(channelManager.getChannels()); // Note: isUseMultiChannel() checks if actual multi-channel is negotiated with server // In mock environment, this will be false until we mock successful negotiation // Verify load balancer is initialized assertNotNull(channelManager.getLoadBalancer()); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
@Mock private Response response; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test isValid returns true for valid negotiation") void testIsValidReturnsTrue() { // Arrange when(negotiationResponse.isValid(cifsContext, negotiationRequest)).thenReturn(true); // ActCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.6K 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java
package jcifs.internal.smb2.nego; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * SMB2 Encryption Negotiate Context. * * This negotiate context is used in SMB 3.x to negotiate * encryption capabilities and cipher suites. * * @author mbechler */ public class EncryptionNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 3.8K bytes - Click Count (0)