Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 19 for isUseUnicode (0.08 seconds)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            this.recv_buf_size = ctx.getConfig().getReceiveBufferSize();
            this.tx_buf_size = ctx.getConfig().getTransactionBufferSize();
            this.useUnicode = ctx.getConfig().isUseUnicode();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#getSelectedDialect()
         */
        @Override
        public DialectVersion getSelectedDialect() {
    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)
  2. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            lenient().when(mockLocalHost.getHostName()).thenReturn("localhost");
            lenient().when(mockConfig.getDefaultDomain()).thenReturn("WORKGROUP");
            lenient().when(mockConfig.isUseUnicode()).thenReturn(true);
        }
    
        @Test
        @DisplayName("Should create Type 1 message with default flags")
        void testType1MessageCreation() {
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.isForceUnicode();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isUseUnicode()
         */
        @Override
        public boolean isUseUnicode() {
            return this.delegate.isUseUnicode();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isUseBatching()
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/ntlmssp/Type2Message.java

         */
        public static int getDefaultFlags(final CIFSContext tc) {
            return NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION
                    | (tc.getConfig().isUseUnicode() ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM);
        }
    
        /**
         * Returns the default flags for a Type-2 message created in response
         * to the given Type-1 message in the current environment.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/Configuration.java

        /**
         *
         * Property {@code jcifs.smb.client.useUnicode} (boolean, default true)
         *
         * @return whether to announce support for unicode
         */
        boolean isUseUnicode();
    
        /**
         *
         * Property {@code jcifs.smb.client.forceUnicode} (boolean, default false)
         *
         * @return whether to use unicode, even if the server does not announce it
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/ntlmssp/Type3Message.java

         */
        public static int getDefaultFlags(final CIFSContext tc) {
            return NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION
                    | (tc.getConfig().isUseUnicode() ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM);
        }
    
        /**
         * Returns the default flags for a Type-3 message created in response
         * to the given Type-2 message in the current environment.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 32.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/config/BaseConfiguration.java

            return this.port139FailoverEnabled;
        }
    
        @Override
        public boolean isUseBatching() {
            return this.useBatching;
        }
    
        @Override
        public boolean isUseUnicode() {
            return this.useUnicode;
        }
    
        @Override
        public boolean isForceUnicode() {
            return this.forceUnicode;
        }
    
        @Override
        public boolean isDfsDisabled() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

            when(mockNameServiceClient.getLocalHost()).thenReturn(mockHost);
            when(mockHost.getHostName()).thenReturn(TEST_HOSTNAME);
            when(mockConfig.getDefaultDomain()).thenReturn(TEST_DOMAIN);
            when(mockConfig.isUseUnicode()).thenReturn(true);
    
            return mockContext;
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            this.extendedSecurity = extendedSecurity;
        }
    
        /**
         * Checks if Unicode encoding is enabled for this message
         * @return the useUnicode
         */
        public final boolean isUseUnicode() {
            return this.useUnicode;
        }
    
        /**
         * Sets whether to use Unicode encoding for this message
         * @param useUnicode
         *            the useUnicode to set
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            byte[] machineId = new byte[32];
            mockRandom.nextBytes(machineId);
    
            lenient().when(mockConfig.getDefaultDomain()).thenReturn("TESTDOMAIN");
            lenient().when(mockConfig.isUseUnicode()).thenReturn(true);
            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
            lenient().when(mockConfig.getRandom()).thenReturn(mockRandom);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.3K bytes
    - Click Count (0)
Back to Top