Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for udpate (0.21 sec)

  1. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                MD4 md4 = new MD4();
                md4.update(password.getBytes(SmbConstants.UNI_ENCODING));
                HMACT64 hmac = new HMACT64(md4.digest());
                hmac.update(user.toUpperCase().getBytes(SmbConstants.UNI_ENCODING));
                hmac.update(domain.toUpperCase().getBytes(SmbConstants.UNI_ENCODING));
                hmac = new HMACT64(hmac.digest());
                hmac.update(challenge);
                hmac.update(clientChallenge);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacMac.java

            mac.init(key);
            byte[] dk = mac.doFinal(MD5_CONSTANT);
            try {
                // little endian
                md.update((byte) ( ms_usage & 0xFF ));
                md.update((byte) ( ( ms_usage >> 8 ) & 0xFF ));
                md.update((byte) ( ( ms_usage >> 16 ) & 0xFF ));
                md.update((byte) ( ( ms_usage >> 24 ) & 0xFF ));
                byte[] dgst = md.digest(data);
                mac.reset();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/RC4.java

                j = (j + key[ki + i % klen] + s[i]) & 0xff;
                byte t = s[i];
                s[i] = s[j];
                s[j] = t;
            }
    
            i = j = 0;
        }
        public void update(byte[] src, int soff, int slen, byte[] dst, int doff)
        {
            int slim;
    
            slim = soff + slen;
            while (soff < slim) {
                i = (i + 1) & 0xff;
                j = (j + s[i]) & 0xff;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.internal.smb1.com;
    
    
    import java.util.Date;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.DialectVersion;
    import jcifs.SmbConstants;
    import jcifs.internal.CommonServerMessageBlock;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            }
        }
    
        public void update( byte[] input, int offset, int len ) {
            if( log.level >= 5 ) {
                log.println( "update: " + updates + " " + offset + ":" + len );
                Hexdump.hexdump( log, input, offset, Math.min( len, 256 ));
                log.flush();
            }
            if( len == 0 ) {
                return; /* CRITICAL */
            }
            digest.update( input, offset, len );
            updates++;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmUtil.java

            byte[] response = new byte[24];
            MessageDigest hmac = Crypto.getHMACT64(passwordHash);
            hmac.update(Strings.getUNIBytes(user.toUpperCase()));
            hmac.update(Strings.getUNIBytes(domain.toUpperCase()));
            hmac = Crypto.getHMACT64(hmac.digest());
            hmac.update(challenge);
            hmac.update(clientChallenge);
            hmac.digest(response, 0, 16);
            System.arraycopy(clientChallenge, 0, response, 16, 8);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 9.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                        MD4 md4 = new MD4();
                        md4.update(responseKeyNT);
                        byte[] userSessionKey = md4.digest();
    
                        HMACT64 hmac = new HMACT64(userSessionKey);
                        hmac.update(sessionNonce);
                        byte[] ntlm2SessionKey = hmac.digest();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import java.util.Date;
    
    import jcifs.smb1.util.Hexdump;
    
    class SmbComQueryInformationResponse extends ServerMessageBlock implements Info {
    
        private int fileAttributes = 0x0000;
        private long lastWriteTime = 0L;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/FileAttributesTest.java

    import static org.junit.Assert.assertTrue;
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    import java.util.Collection;
    import java.util.Date;
    import java.util.Map;
    
    import org.junit.Assert;
    import org.junit.Assume;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmContext.java

            }
        }
    
    
        private static byte[] deriveKey ( byte[] masterKey, String cnst ) {
            MessageDigest md5 = Crypto.getMD5();
            md5.update(masterKey);
            md5.update(cnst.getBytes(StandardCharsets.US_ASCII));
            md5.update((byte) 0);
            return md5.digest();
        }
    
    
        @Override
        public boolean supportsIntegrity () {
            return true;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 15.7K bytes
    - Viewed (0)
Back to top