Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 58 for negotiation (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb/PreauthIntegrityTest.java

         */
        @Test
        @DisplayName("Pre-auth integrity hash should be thread-safe")
        void testPreauthHashThreadSafety() throws Exception {
            // Setup SMB3.1.1 negotiation
            when(negotiateResponse.getSelectedDialect()).thenReturn(DialectVersion.SMB311);
            when(negotiateResponse.getSelectedPreauthHash()).thenReturn(1); // SHA-512
            setPrivateField(transport, "smb2", true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

         */
        public final int getCommonCapabilities() {
            return this.commonCapabilities;
        }
    
        /**
         * Gets the initial security blob for authentication negotiation.
         *
         * @return initial security blob
         */
        public byte[] getSecurityBlob() {
            return this.securityBuffer;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            // observed too that signatures on error responses are sometimes wrong??
            // Looks like the failure case also is just reflecting back the signature we sent
    
            // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response)
            // make sure that validation is performed in any case
            final Smb2SigningDigest dgst = getDigest();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Extended attributes supported flag */
        int FLAGS2_EXTENDED_ATTRIBUTES = 0x0002;
        /** Security signatures supported flag */
        int FLAGS2_SECURITY_SIGNATURES = 0x0004;
        /** Extended security negotiation flag */
        int FLAGS2_EXTENDED_SECURITY_NEGOTIATION = 0x0800;
        /** Resolve paths in DFS flag */
        int FLAGS2_RESOLVE_PATHS_IN_DFS = 0x1000;
        /** Permit read if execute permission flag */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            response.getServerData().smaxMpxCount = 1;
            response.getServerData().maxBufferSize = 16384;
    
            assertTrue(response.isValid(mockContext, request));
            // After negotiation, check if unicode capability is preserved
            assertTrue((response.getNegotiatedCapabilities() & SmbConstants.CAP_UNICODE) != 0);
        }
    
        @Test
        public void testIsValidWithInvalidDialect() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. docs/smb3-features/05-rdma-smb-direct-design.md

            RdmaNegotiateResponse response = rdmaConnection.negotiate(request);
            
            if (!response.isSuccess()) {
                throw new IOException("RDMA negotiation failed: " + response.getStatus());
            }
            
            // Update connection parameters based on negotiation
            credits.setCreditsGranted(response.getCreditsGranted());
            maxReadWriteSize = Math.min(maxReadWriteSize, response.getMaxReadWriteSize());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

        public boolean canReuse(final CIFSContext tc, final boolean forceSigning) {
            return this.getConfig().equals(tc.getConfig());
        }
    
        /**
         * Returns the index of the selected SMB dialect from the negotiation.
         *
         * @return the dialectIndex
         */
        public int getDialectIndex() {
            return this.dialectIndex;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            assertTrue(handle.isSMB2());
    
            reset(transport);
            when(session.getTransport()).thenReturn(transport);
            when(transport.isSMB2()).thenThrow(new SmbException("negotiation missing"));
            assertFalse(handle.isSMB2());
        }
    
        @Test
        @DisplayName("Null treeConnection throws NPE")
        void constructorNullTreeConnection() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            void testSmb2HeaderLength() {
                assertEquals(64, Smb2Constants.SMB2_HEADER_LENGTH, "SMB2 header must be exactly 64 bytes");
            }
        }
    
        @Nested
        @DisplayName("Negotiation Constants")
        class NegotiationConstants {
    
            @Test
            @DisplayName("Signing enabled flag should be 0x0001")
            void testSigningEnabledFlag() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        // we should try the next route (if there is one).
        if (e is InterruptedIOException) {
          return e is SocketTimeoutException && !requestSendStarted
        }
    
        // Look for known client-side or negotiation errors that are unlikely to be fixed by trying
        // again with a different route.
        if (e is SSLHandshakeException) {
          // If the problem was a CertificateException from the X509TrustManager,
          // do not retry.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.5K bytes
    - Click Count (0)
Back to Top