Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for unicode (0.23 sec)

  1. src/main/java/jcifs/smb1/dcerpc/rpc.idl

    	} policy_handle;
    
    	/*
    	 * typedef struct _UNICODE_STRING
    	 *     USHORT Length;
    	 *     USHORT MaximumLength;
    	 *     [size_is(MaximumLength / 2), length_is((Length) / 2) ] USHORT *  Buffer;
    	 * } UNICODE_STRING;
    	 */
    
    	typedef struct {
    		uint16_t length;
    		uint16_t maximum_length;
    		[length_is(length / 2),size_is(maximum_length / 2)] uint16_t *buffer;
    	} unicode_string;
    
    	/* 
    Others
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

            try {
                int flags = getFlags();
                boolean unicode = (flags & NTLMSSP_NEGOTIATE_UNICODE) != 0;
                String oem = unicode ? null : getOEMEncoding();
                String domainName = getDomain();
                byte[] domain = null;
                if (domainName != null && domainName.length() != 0) {
                    domain = unicode ?
                            domainName.getBytes(UNI_ENCODING) :
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type2Message.java

                return getDefaultFlags(tc);
            int flags = NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION;
            int type1Flags = type1.getFlags();
            flags |= ( ( type1Flags & NTLMSSP_NEGOTIATE_UNICODE ) != 0 ) ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM;
            if ( ( type1Flags & NTLMSSP_REQUEST_TARGET ) != 0 ) {
                String domain = tc.getConfig().getDefaultDomain();
                if ( domain != null ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/NtlmFlags.java

    package jcifs.ntlmssp;
    
    
    /**
     * Flags used during negotiation of NTLMSSP authentication.
     */
    public interface NtlmFlags {
    
        /**
         * Indicates whether Unicode strings are supported or used.
         */
        public static final int NTLMSSP_NEGOTIATE_UNICODE = 0x00000001;
    
        /**
         * Indicates whether OEM strings are supported or used.
         */
        public static final int NTLMSSP_NEGOTIATE_OEM = 0x00000002;
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmUtil.java

            hmac.update(clientChallenge);
            hmac.digest(response, 0, 16);
            System.arraycopy(clientChallenge, 0, response, 16, 8);
            return response;
        }
    
    
        /**
         * Generate the Unicode MD4 hash for the password associated with these credentials.
         * 
         * @param password
         * @param challenge
         * @return the calculated response
         * @throws GeneralSecurityException
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 9.7K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

        private String suppliedWorkstation;
    
        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);
            String defaultWorkstation = null;
            try {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/rpc.java

                    uuid.node[_i] = (byte)_src.dec_ndr_small();
                }
            }
        }
        public static class unicode_string extends NdrObject {
    
            public short length;
            public short maximum_length;
            public short[] buffer;
    
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_short(length);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top