Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for unicode (0.19 sec)

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

                this.capabilities |= SmbConstants.CAP_UNICODE;
            }
    
            if ( ( this.capabilities & SmbConstants.CAP_UNICODE ) == 0 ) {
                // server doesn't want unicode
                if ( ctx.getConfig().isForceUnicode() ) {
                    this.capabilities |= SmbConstants.CAP_UNICODE;
                    this.useUnicode = true;
                }
                else {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/NamingTest.java

        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "noUnicode", "forceUnicode", "noUnicode-cp850", "noUnicode-windows-1252", "smb2", "smb30", "smb31");
        }
    
    
        @Test
        public void testASCII () throws CIFSException, MalformedURLException, UnknownHostException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jun 06 10:48:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

     */
    
    package jcifs.smb1.dcerpc;
    
    public class UnicodeString extends rpc.unicode_string {
    
        boolean zterm;
    
        public UnicodeString(boolean zterm) {
            this.zterm = zterm;
        }
        public UnicodeString(rpc.unicode_string rus, boolean zterm) {
            this.length = rus.length;
            this.maximum_length = rus.maximum_length;
            this.buffer = rus.buffer;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbConstants.java

        static final int FLAGS2_PERMIT_READ_IF_EXECUTE_PERM = 0x2000;
        static final int FLAGS2_STATUS32 = 0x4000;
        static final int FLAGS2_UNICODE = 0x8000;
    
        static final int CAP_NONE = 0x0000;
        static final int CAP_RAW_MODE = 0x0001;
        static final int CAP_MPX_MODE = 0x0002;
        static final int CAP_UNICODE = 0x0004;
        static final int CAP_LARGE_FILES = 0x0008;
        static final int CAP_NT_SMBS = 0x0010;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            }
            System.arraycopy( passwordBytes, 0, p14, 0, passwordLength );
            E( p14, S8, p21);
            E( p21, challenge, p24);
            return p24;
        }
    /**
     * Generate the Unicode MD4 hash for the password associated with these credentials.
     */
        static public byte[] getNTLMResponse( String password, byte[] challenge ) {
            byte[] uni = null;
            byte[] p21 = new byte[21];
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/rpc.java

                }
            }
        }
    
        public static class unicode_string extends NdrObject {
    
            public short length;
            public short maximum_length;
            public short[] buffer;
    
    
            @Override
            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_short(this.length);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbConstants.java

                    ( USE_NTSTATUS ? FLAGS2_STATUS32 : 0 ) |
                    ( USE_UNICODE ? FLAGS2_UNICODE : 0 );
        static final int DEFAULT_CAPABILITIES =
                    ( USE_NTSMBS ? CAP_NT_SMBS : 0 ) |
                    ( USE_NTSTATUS ? CAP_STATUS32 : 0 ) |
                    ( USE_UNICODE ? CAP_UNICODE : 0 ) |
                    CAP_DFS;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                if( byteCount > server.encryptionKeyLength ) {
                    int len = 0;
    // TODO: we can use new string routine here
                    try {
                        if(( flags2 & FLAGS2_UNICODE ) == FLAGS2_UNICODE ) {
                            while( buffer[bufferIndex + len] != (byte)0x00 ||
                                            buffer[bufferIndex + len + 1] != (byte)0x00 ) {
                                len += 2;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

                this.sid = sid;
                this.domain_handle = domain_handle;
            }
    
            public void encode_in(NdrBuffer _dst) throws NdrException {
                handle.encode(_dst);
                _dst.enc_ndr_long(access_mask);
                sid.encode(_dst);
            }
            public void decode_out(NdrBuffer _src) throws NdrException {
                domain_handle.decode(_src);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 14K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.idl

    	[op(0x07)]
    	int SamrOpenDomain([in] policy_handle *handle,
    			[in] uint32_t access_mask,
    			[in] sid_t *sid,
    			[out] policy_handle *domain_handle);
    
    	typedef struct {
    		uint32_t idx;
    		unicode_string name;
    	} SamrSamEntry;
    
    	typedef struct {
    		uint32_t count;
    		[size_is(count)] SamrSamEntry *entries;
    	} SamrSamArray;
    
    	[op(0x0f)]
    	int SamrEnumerateAliasesInDomain([in] policy_handle *domain_handle,
    Others
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.1K bytes
    - Viewed (0)
Back to top