Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for makeReq (0.15 sec)

  1. src/test/java/jcifs/tests/PACTest.java

            }
    
            byte[] mac = PacMac.calculateMacArcfourHMACMD5(usage, makeKey(keybytes, 23), bytes);
            checkBytes(javaChecksum, mac);
            checkBytes(Hex.decode(expect), mac);
        }
    
    
        /**
         * @param keybytes
         * @return
         */
        private static KerberosKey makeKey ( byte[] keybytes, int etype ) {
            return new KerberosKey(null, keybytes, etype, 0);
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/transport/Transport.java

         */
        int state = 0;
    
        String name = "Transport" + id++;
        Thread thread;
        TransportException te;
    
        protected HashMap response_map = new HashMap( 4 );
    
        protected abstract void makeKey( Request request ) throws IOException;
        protected abstract Request peekKey() throws IOException;
        protected abstract void doSend( Request request ) throws IOException;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Transport.java

        }
    
    
        /**
         * @return the number of known usages
         */
        protected long getUsageCount () {
            return this.usageCount.get();
        }
    
    
        protected abstract long makeKey ( Request request ) throws IOException;
    
    
        protected abstract Long peekKey () throws IOException;
    
    
        protected abstract void doSend ( Request request ) throws IOException;
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                in.close();
                socket.close();
            } finally {
                digest = null;
                socket = null;
                tconHostName = null;
            }
        }
    
        protected void makeKey( Request request ) throws IOException {
            /* The request *is* the key */
            if (++mid == 32000) mid = 1;
            ((ServerMessageBlock)request).mid = mid;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

    
        /**
         * @return
         * @throws IOException
         */
        private int negotiateWrite ( CommonServerMessageBlockRequest req, boolean setmid ) throws IOException {
            if ( setmid ) {
                makeKey(req);
            }
            else {
                req.setMid(0);
                this.mid.set(1);
            }
            int n = req.encode(this.sbuf, 4);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
Back to top