Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for negotiator (2.01 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

        }
    
        /**
         * Gets the common capabilities negotiated between client and server.
         *
         * @return the common/negotiated capabilities
         */
        public final int getCommonCapabilities() {
            return this.commonCapabilities;
        }
    
        /**
         * Gets the initial security blob for authentication negotiation.
         *
         * @return initial security blob
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

        private byte[] preauthSalt;
    
        /**
         * Constructs an SMB2 negotiate request with the specified configuration and security mode.
         *
         * @param config the configuration for this request
         * @param securityMode the security mode flags for negotiation
         */
        public Smb2NegotiateRequest(final Configuration config, final int securityMode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB 3.1.1 Compression Capabilities negotiate context.
     *
     * This context is used during SMB2 negotiation to negotiate compression
     * algorithms for SMB3 data compression support.
     */
    public class CompressionNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeImpl.java

                log.debug("Secure negotiation failure");
                throw new CIFSException("Mismatched attributes validating negotiate info");
            }
    
            log.debug("Secure negotiation OK");
        }
    
        /**
         * @param transport
         * @return
         * @throws SmbException
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/SecurityConfigurationTest.java

        }
    
        /**
         * Test secure negotiation requirement for SMB3
         */
        @Test
        public void testSecureNegotiateRequired() throws CIFSException {
            BaseConfiguration config = new BaseConfiguration(true);
    
            // Verify secure negotiate is required for SMB3
            assertTrue("Secure negotiate should be required for SMB3", config.isRequireSecureNegotiate());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/config/BaseConfiguration.java

        protected boolean useNtStatus = true;
        /** Whether to use extended security negotiation */
        protected boolean useExtendedSecurity = true;
        /** Force use of extended security negotiation */
        protected boolean forceExtendedSecurity = false;
        /** Whether to negotiate only SMB2 or higher protocols */
        protected boolean smb2OnlyNegotiation = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  7. 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 response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  8. 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 {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top