Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for useUnicode (0.08 sec)

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

                    this.useUnicode = true;
                }
                else {
                    this.useUnicode = false;
                    this.negotiatedFlags2 &= 0xFFFF ^ SmbConstants.FLAGS2_UNICODE;
                }
            }
            else {
                this.useUnicode = ctx.getConfig().isUseUnicode();
            }
    
            if ( this.useUnicode ) {
                log.debug("Unicode is enabled");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        }
    
    
        /**
         * @return the useUnicode
         */
        public final boolean isUseUnicode () {
            return this.useUnicode;
        }
    
    
        /**
         * @param useUnicode
         *            the useUnicode to set
         */
        public final void setUseUnicode ( boolean useUnicode ) {
            this.useUnicode = useUnicode;
        }
    
    
        /**
         * @return the received
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/BaseConfiguration.java

        protected int localPid = -1;
        protected TimeZone localTimeZone;
        protected SecureRandom random;
        protected boolean useBatching = false;
        protected boolean useUnicode = true;
        protected boolean forceUnicode = false;
        protected boolean signingPreferred = false;
        protected boolean signingEnforced = false;
        protected boolean ipcSigningEnforced = true;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        }
        int writeString( String str, byte[] dst, int dstIndex ) {
            return writeString( str, dst, dstIndex, useUnicode );
        }
        int writeString( String str, byte[] dst, int dstIndex, boolean useUnicode ) {
            int start = dstIndex;
    
            try {
                if( useUnicode ) {
                    // Unicode requires word alignment
                    if((( dstIndex - headerStart ) % 2 ) != 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/AllTests.java

                @Override
                public Map<String, String> mutate ( Map<String, String> cfg ) {
                    cfg.put("jcifs.smb.client.maxVersion", "SMB1");
                    cfg.put("jcifs.smb.client.useUnicode", "false");
                    cfg.put("jcifs.smb.client.forceUnicode", "false");
                    return cfg;
                }
            });
    
            MUTATIONS.put("forceUnicode", new TestMutation() {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

            dst[start + ANDX_RESERVED_OFFSET] = (byte)0x00;
            andxOffset = dstIndex - headerStart;
            writeInt2( andxOffset, dst, start + ANDX_OFFSET_OFFSET );
    
            andx.useUnicode = useUnicode;
            if( andx instanceof AndXServerMessageBlock ) {
    
                /*
                 * A word about communicating header info to andx smbs
                 *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
        }
        void send( ServerMessageBlock request, ServerMessageBlock response ) throws SmbException {
    
            connect(); /* must negotiate before we can test flags2, useUnicode, etc */
    
            request.flags2 |= flags2;
            request.useUnicode = useUnicode;
            request.response = response; /* needed by sign */
            if (request.digest == null)
                request.digest = digest; /* for sign called in encode */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

        private byte[] context;
    
        private byte[] targetInformation;
    
        static {
            DEFAULT_FLAGS = NTLMSSP_NEGOTIATE_NTLM |
                    (Config.getBoolean("jcifs.smb1.smb.client.useUnicode", true) ?
                            NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM);
            DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null);
            byte[] domain = new byte[0];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

        private byte[] masterKey = null;
        private byte[] sessionKey = null;
    
        static {
            DEFAULT_FLAGS = NTLMSSP_NEGOTIATE_NTLM |
                    (Config.getBoolean("jcifs.smb1.smb.client.useUnicode", true) ?
                            NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM);
            DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Configuration.java

         * 
         * @return whether to failover to legacy transport on port 139
         */
        boolean isPort139FailoverEnabled ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.useUnicode</tt> (boolean, default true)
         * 
         * @return whether to announce support for unicode
         */
        boolean isUseUnicode ();
    
    
        /**
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top