Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getOEMEncoding (0.08 sec)

  1. src/main/java/jcifs/util/Strings.java

            if ( str == null ) {
                return new byte[0];
            }
            try {
                return str.getBytes(config.getOemEncoding());
            }
            catch ( UnsupportedEncodingException e ) {
                throw new RuntimeCIFSException("Unsupported OEM encoding " + config.getOemEncoding(), e);
            }
        }
    
    
        /**
         * @param src
         * @param srcIndex
         * @param len
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                suppliedDomain = new String(domain, getOEMEncoding());
            }
            String suppliedWorkstation = null;
            if ((flags & NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED) != 0) {
                byte[] workstation = readSecurityBuffer(material, 24);
                suppliedWorkstation = new String(workstation, getOEMEncoding());
            }
            setFlags(flags);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type1Message.java

                setSuppliedDomain(new String(domain, getOEMEncoding()));
            }
            pos += 8;
    
            if ( ( flags & NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED ) != 0 ) {
                byte[] workstation = readSecurityBuffer(material, pos);
                setSuppliedWorkstation(new String(workstation, getOEMEncoding()));
            }
            pos += 8;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 02 12:55:08 UTC 2018
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

            writeUShort(dest, offset + 2, length);
            writeULong(dest, offset + 4, bodyOffset);
            System.arraycopy(src, 0, dest, bodyOffset, length);
        }
    
        static String getOEMEncoding() {
            return OEM_ENCODING;
        }
    
        /**
         * Returns the raw byte representation of this message.
         *
         * @return A <code>byte[]</code> containing the raw message material.
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/NtlmMessage.java

            if ( src != null && src.length > 0 ) {
                System.arraycopy(src, 0, dest, pos, src.length);
                return src.length;
            }
            return 0;
        }
    
    
        static String getOEMEncoding () {
            return OEM_ENCODING;
        }
    
    
        /**
         * Returns the raw byte representation of this message.
         *
         * @return A <code>byte[]</code> containing the raw message material.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/NamingTest.java

            Assume.assumeFalse("Unicode support", getContext().getConfig().isUseUnicode());
            Assume.assumeFalse("SMB2", getContext().getConfig().getMaximumVersion().isSMB2());
            String oemEncoding = getContext().getConfig().getOemEncoding();
            String str = null;
            try {
                switch ( oemEncoding.toLowerCase(Locale.ROOT) ) {
                case "cp850":
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
Back to top