Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for Bytes (0.22 sec)

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

            }
            else {
                javaChecksum = sun.security.krb5.internal.crypto.Aes256.calculateChecksum(keybytes, usage, bytes, 0, bytes.length);
            }
    
            byte[] mac = PacMac.calculateMacHMACAES(usage, makeKey(keybytes, keybytes.length == 16 ? 17 : 18), bytes);
            checkBytes(javaChecksum, mac);
    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/smb1/SmbFileOutputStream.java

            this( file, false );
        }
    
    /**
     * Creates an {@link java.io.OutputStream} for writing bytes to a file on an
     * SMB server addressed by the URL parameter. See {@link jcifs.smb1.smb1.SmbFile}
     * for a detailed description and examples of the smb URL syntax. If the
     * second argument is <code>true</code>, then bytes will be written to the
     * end of the file rather than the beginning.
     *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileOutputStream.java

        }
    
    
        /**
         * Creates an {@link java.io.OutputStream} for writing bytes to a file
         * on an SMB server addressed by the <code>SmbFile</code> parameter. See
         * {@link jcifs.smb.SmbFile} for a detailed description and examples of
         * the smb URL syntax. If the second argument is <code>true</code>, then
         * bytes will be written to the end of the file rather than the beginning.
         * 
         * @param file
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/Base64.java

         * Base-64 encodes the supplied block of data.  Line wrapping is not
         * applied on output.
         *
         * @param bytes The block of data that is to be Base-64 encoded.
         * @return A <code>String</code> containing the encoded data.
         */
        public static String encode(byte[] bytes) {
            int length = bytes.length;
            if (length == 0) return "";
            StringBuffer buffer =
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/MD4.java

         * context and count, and leaving (buffering) the remaining bytes in buffer
         * for the next update or finish.
         *
         * @param    input    input block
         * @param    offset    start of meaningful bytes in input
         * @param    len        count of bytes in input block to consider
         */
        public void engineUpdate (byte[] input, int offset, int len) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/ByteEncodable.java

    /**
     * @author mbechler
     *
     */
    public class ByteEncodable implements Encodable {
    
        private byte[] bytes;
        private int off;
        private int len;
    
    
        /**
         * @param b
         * @param off
         * @param len
         */
        public ByteEncodable ( byte[] b, int off, int len ) {
            this.bytes = b;
            this.off = off;
            this.len = len;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                    /*
                     * The SMB_COM_NT_CREATE_ANDX response wordCount is wrong. There's an
                     * extra 16 bytes for some "Offline Files (CSC or Client Side Caching)"
                     * junk. We need to bump up the wordCount here so that this method returns
                     * the correct number of bytes for signing purposes. Otherwise we get a
                     * signing verification failure.
                     */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/DES.java

        }
    
    
        /// Encrypt a block of eight bytes.
        private void encrypt( byte[] clearText, int clearOff, byte[] cipherText, int cipherOff ) {
    
            squashBytesToInts( clearText, clearOff, tempInts, 0, 2 );
            des( tempInts, tempInts, encryptKeys );
            spreadIntsToBytes( tempInts, 0, cipherText, cipherOff, 2 );
        }
    
        /// Decrypt a block of eight bytes.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 21.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

        }
    
    /**
     * Reads up to b.length bytes of data from this input stream into an array of bytes.
     *
     * @throws IOException if a network error occurs
     */
    
        public int read( byte[] b ) throws IOException {
            return read( b, 0, b.length );
        }
    
    /**
     * Reads up to len bytes of data from this input stream into an array of bytes.
     *
     * @throws IOException if a network error occurs
     */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileInputStream.java

        }
    
    
        /**
         * Reads up to b.length bytes of data from this input stream into an array of bytes.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public int read ( byte[] b ) throws IOException {
            return read(b, 0, b.length);
        }
    
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
Back to top