Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for negotiated (0.05 sec)

  1. 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)
  2. 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)
  3. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                this.encryptionKey = encryptionKey.clone();
                this.decryptionKey = decryptionKey.clone();
            }
        }
    
        /**
         * Get the negotiated cipher identifier
         * @return the negotiated cipher ID
         */
        public int getCipherId() {
            return this.cipherId;
        }
    
        /**
         * Get the SMB dialect version
         * @return the SMB dialect version
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            when(negotiationResponse.canReuse(any(CIFSContext.class), anyBoolean())).thenReturn(true);
    
            // Use reflection to set the negotiated response
            Field negotiatedField = SmbTransportImpl.class.getDeclaredField("negotiated");
            negotiatedField.setAccessible(true);
            negotiatedField.set(initial, negotiationResponse);
    
            // When: Request connection with signing enforced
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                    log.debug("Multiple preauth negotiate contexts");
                    return false;
                }
            }
    
            if (!foundPreauth) {
                log.error("Missing preauth negotiate context");
                return false;
            }
            if (!foundEnc && (caps & Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION) != 0) {
                log.error("Missing encryption negotiate context");
                return false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileOutputStream.java

                log.debug("No support or SMB signing is enabled, not enabling large writes");
                this.writeSizeFile = this.writeSize;
            }
    
            if (log.isDebugEnabled()) {
                log.debug("Negotiated file write size is " + this.writeSizeFile);
            }
    
            if (this.useNTSmbs) {
                this.reqx = new SmbComWriteAndX(th.getConfig());
                this.rspx = new SmbComWriteAndXResponse(th.getConfig());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

            assertFalse(negotiationResponse.isSigningRequired());
            assertTrue(negotiationResponse.isSigningNegotiated());
    
            // Signing required (implies enabled and negotiated)
            when(negotiationResponse.isSigningEnabled()).thenReturn(true);
            when(negotiationResponse.isSigningRequired()).thenReturn(true);
            when(negotiationResponse.isSigningNegotiated()).thenReturn(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NetworkExplorer.java

    /**
     * This servlet may be used to "browse" the entire hierarchy of resources
     * on an SMB network like one might with Network Neighborhood or Windows
     * Explorer. The users credentials with be negotiated using NTLM SSP if
     * the client is Microsoft Internet Explorer.
     *
     * @deprecated Unsupported
     */
    @Deprecated
    /**
     * A servlet that provides network browsing capabilities for SMB shares.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
Back to top