- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for negotiate2 (0.61 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
} /** * Returns the server capabilities negotiated during the SMB handshake. * * @return the negotiated capabilities */ public int getNegotiatedCapabilities() { return this.capabilities; } /** * Gets the negotiated send buffer size. * * @return negotiated send buffer size */ public int getNegotiatedSendBufferSize() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} private void negotiate(int port, final ServerMessageBlock resp) throws IOException { /* We cannot use Transport.sendrecv() yet because * the Transport thread is not setup until doConnect() * returns and we want to supress all communication * until we have properly negotiated. */ synchronized (sbuf) { if (port == 139) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
assertFalse(enforced.isSigningOptional()); assertTrue(enforced.isSigningEnforced()); // Negotiated required -> enforced true; negotiated enabled-only -> optional true SmbNegotiationResponse nego = mock(SmbNegotiationResponse.class); setField(transport, "negotiated", nego); when(nego.isSigningNegotiated()).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
} } @Override public void destroy() { } /** * This method simply calls {@code negotiate( req, resp, false )} * and then {@code chain.doFilter}. You can override and call * negotiate manually to achive a variety of different behavior. */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
} } @Override public void destroy() { } /** * This method simply calls {@code negotiate( req, resp, false )} * and then {@code chain.doFilter}. You can override and call * negotiate manually to achive a variety of different behavior. */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0) -
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/test/java/jcifs/smb/SmbTreeHandleImplTest.java
verify(transport).close(); } @Test @DisplayName("getServerTimeZoneOffset: SMB1 negotiate path multiplies minutes to millis") void getServerTimeZoneOffsetSmb1() throws Exception { // Uses concrete SMB1 negotiate response to exercise SMB1-specific branch // Build a concrete SMB1 negotiate response to expose ServerData fields jcifs.CIFSContext ctx = mock(jcifs.CIFSContext.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
when(negotiateResponse.getSelectedPreauthHash()).thenReturn(1); // SHA-512 setPrivateField(transport, "smb2", true); setPrivateField(transport, "negotiated", negotiateResponse); int threadCount = 10; CountDownLatch startLatch = new CountDownLatch(1); CountDownLatch doneLatch = new CountDownLatch(threadCount);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0)