Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Raw (0.13 sec)

  1. src/main/java/jcifs/ntlmssp/av/AvPairs.java

            byte[] enc = new byte[size];
            int pos = 0;
            for ( AvPair p : pairs ) {
                byte[] raw = p.getRaw();
                SMBUtil.writeInt2(p.getType(), enc, pos);
                SMBUtil.writeInt2(raw.length, enc, pos + 2);
                System.arraycopy(raw, 0, enc, pos + 4, raw.length);
                pos += 4 + raw.length;
            }
    
            // MsvAvEOL
            SMBUtil.writeInt2(AvPair.MsvAvEOL, enc, pos);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/av/AvPair.java

        private final byte[] raw;
    
    
        /**
         * @param type
         * @param raw
         */
        public AvPair ( int type, byte[] raw ) {
            this.type = type;
            this.raw = raw;
        }
    
    
        /**
         * @return the type
         */
        public final int getType () {
            return this.type;
        }
    
    
        /**
         * @return the raw
         */
        public final byte[] getRaw () {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/av/AvFlags.java

    
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * @author mbechler
     *
     */
    public class AvFlags extends AvPair {
    
        /**
         * @param raw
         */
        public AvFlags ( byte[] raw ) {
            super(AvPair.MsvAvFlags, raw);
        }
    
    
        /**
         * 
         * @param flags
         */
        public AvFlags ( int flags ) {
            this(encode(flags));
        }
    
    
        /**
         * 
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/av/AvSingleHost.java

    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * @author mbechler
     *
     */
    public class AvSingleHost extends AvPair {
    
        /**
         * @param raw
         */
        public AvSingleHost ( byte[] raw ) {
            super(AvPair.MsvAvSingleHost, raw);
        }
    
    
        /**
         * 
         * @param cfg
         */
        public AvSingleHost ( Configuration cfg ) {
            this(new byte[8], cfg.getMachineId());
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type1Message.java

            setSuppliedDomain(suppliedDomain);
            setSuppliedWorkstation(suppliedWorkstation);
        }
    
    
        /**
         * Creates a Type-1 message using the given raw Type-1 material.
         *
         * @param material
         *            The raw Type-1 material used to construct this message.
         * @throws IOException
         *             If an error occurs while parsing the material.
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Sep 02 12:55:08 GMT 2018
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/DES.java

                }
            }
            cookey( kn, KnL );
        }
    
        private void cookey( int[] raw, int KnL[] )     {
            int raw0, raw1;
            int rawi, KnLi;
            int i;
    
            for ( i = 0, rawi = 0, KnLi = 0; i < 16; ++i )   {
                raw0 = raw[rawi++];
                raw1 = raw[rawi++];
                KnL[KnLi]  = (raw0 & 0x00fc0000) <<   6;
                KnL[KnLi] |= (raw0 & 0x00000fc0) <<  10;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 21.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Crypto.java

                NoSuchPaddingException |
                InvalidKeyException e ) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
    
        /**
         * @param key
         *            7-byte "raw" DES key
         * @return 8-byte DES key with parity
         */
        static byte[] des7to8 ( byte[] key ) {
            byte key8[] = new byte[8];
            key8[ 0 ] = (byte) ( key[ 0 ] & 0xFE );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Aug 17 17:34:29 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                suppliedWorkstation = getDefaultWorkstation();
            setSuppliedWorkstation(suppliedWorkstation);
        }
    
        /**
         * Creates a Type-1 message using the given raw Type-1 material.
         *
         * @param material The raw Type-1 material used to construct this message.
         * @throws IOException If an error occurs while parsing the material.
         */
        public Type1Message(byte[] material) throws IOException {
    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/smb1/ntlmssp/Type2Message.java

            setTarget(target);
            if (target != null) setTargetInformation(getDefaultTargetInformation());
        }
    
        /**
         * Creates a Type-2 message using the given raw Type-2 material.
         *
         * @param material The raw Type-2 material used to construct this message.
         * @throws IOException If an error occurs while parsing the material.
         */
        public Type2Message(byte[] material) throws IOException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 12.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/RequestParam.java

         */
        NONE,
    
        /**
         * Wait indefinitely for a response
         */
        NO_TIMEOUT,
    
        /**
         * Do not retry request on failure
         */
        NO_RETRY,
    
        /**
         * Save the raw payload for further inspection
         */
        RETAIN_PAYLOAD
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.1K bytes
    - Viewed (0)
Back to top