Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for useUnicode (0.07 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/SmbComSessionSetupAndXResponse.java

            nativeLanMan = readString( buffer, bufferIndex, start + byteCount, 255, useUnicode );
            bufferIndex += stringWireLength( nativeLanMan, bufferIndex );
            if (!extendedSecurity) {
                primaryDomain = readString(buffer, bufferIndex, start + byteCount, 255, useUnicode);
                bufferIndex += stringWireLength(primaryDomain, bufferIndex);
            }
    
            return bufferIndex - start;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                        }
                    } else if( DISABLE_PLAIN_TEXT_PASSWORDS ) {
                        throw new RuntimeException( "Plain text passwords are disabled" );
                    } else if( useUnicode ) {
                        // plain text
                        String password = auth.getPassword();
                        lmHash = new byte[0];
                        ntHash = new byte[(password.length() + 1) * 2];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int RCV_BUF_SIZE = Config.getInt( "jcifs.smb1.smb.client.rcv_buf_size", DEFAULT_RCV_BUF_SIZE );
        static final boolean USE_UNICODE = Config.getBoolean( "jcifs.smb1.smb.client.useUnicode", true );
        static final boolean FORCE_UNICODE = Config.getBoolean( "jcifs.smb1.smb.client.useUnicode", false );
        static final boolean USE_NTSTATUS = Config.getBoolean( "jcifs.smb1.smb.client.useNtStatus", true );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.4K bytes
    - Viewed (0)
Back to top