Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getOemEncoding (0.16 sec)

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

        void testGetPreNTLMResponse_basicAndInteractions() throws Exception {
            // Arrange
            when(cifsContext.getConfig()).thenReturn(configuration);
            when(configuration.getOemEncoding()).thenReturn("Cp850");
            String password14 = "ABCDEFGHIJKLMN"; // 14 chars
            String password15 = "ABCDEFGHIJKLMNO"; // 15 chars, same first 14
            byte[] challenge = hex("0102030405060708");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  2. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.getSessionLimit();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getOemEncoding()
         */
        @Override
        public String getOemEncoding() {
            return this.delegate.getOemEncoding();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getLocalTimezone()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            when(mockConfig.getNetbiosCachePolicy()).thenReturn(30); // Short cache
            when(mockConfig.getWinsServers()).thenReturn(new InetAddress[0]);
            when(mockConfig.getOemEncoding()).thenReturn("Cp850");
    
            // Create the name service client with mock context
            nameServiceClient = new NameServiceClientImpl(mockContext);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertEquals(0, config.getFlags2());
            assertEquals(SmbConstants.DEFAULT_SSN_LIMIT, config.getSessionLimit());
            assertEquals(SmbConstants.DEFAULT_OEM_ENCODING, config.getOemEncoding());
            assertNull(config.getLocalTimezone());
            assertEquals(-1, config.getPid());
            assertFalse(config.isIgnoreCopyToException());
            assertEquals(2, config.getMaxRequestRetries());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Configuration.java

         */
        int getSessionLimit();
    
        /**
         *
         * Property {@code jcifs.encoding} (string, default {@code Cp850})
         *
         * @return OEM encoding to use
         */
        String getOemEncoding();
    
        /**
         * Gets the local timezone for time-related operations
         *
         * @return local timezone
         */
        TimeZone getLocalTimezone();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/config/BaseConfiguration.java

        public int getFlags2() {
            return this.flags2;
        }
    
        @Override
        public int getSessionLimit() {
            return this.sessionLimit;
        }
    
        @Override
        public String getOemEncoding() {
            return this.oemEncoding;
        }
    
        @Override
        public TimeZone getLocalTimezone() {
            return this.localTimeZone;
        }
    
        @Override
        public int getPid() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top