Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for 24 (0.16 sec)

  1. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            int off = 0;
            int tot = buf.getLength() - 24;
            while ( off < tot ) {
                int fragSize = tot - off;
                if ( ( 24 + fragSize ) > this.max_xmit ) {
                    // need fragementation
                    msg.flags &= ~DCERPC_LAST_FRAG;
                    fragSize = this.max_xmit - 24;
                }
                else {
                    msg.flags |= DCERPC_LAST_FRAG;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            (byte)0x40, (byte)0x23, (byte)0x24, (byte)0x25
        };
        /* Accepts key multiple of 7
         * Returns enc multiple of 8
         * Multiple is the same like: 21 byte key gives 24 byte result
         */
        private static void E( byte[] key, byte[] data, byte[] e ) {
            byte[] key7 = new byte[7];
            byte[] e8 = new byte[8];
    
            for( int i = 0; i < key.length / 7; i++ ) {
    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)
  3. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 24);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt2(24, dst, dstIndex);
            dstIndex += 2;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/SessionServicePacket.java

            dst[ dstIndex ] = (byte) ( val & 0xFF );
        }
    
    
        static void writeInt4 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 24 ) & 0xFF );
            dst[ dstIndex++ ] = (byte) ( ( val >> 16 ) & 0xFF );
            dst[ dstIndex++ ] = (byte) ( ( val >> 8 ) & 0xFF );
            dst[ dstIndex ] = (byte) ( val & 0xFF );
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PacMac.java

                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();
                mac.init(new SecretKeySpec(dk, HMAC_KEY));
                return mac.doFinal(dgst);
            }
            finally {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmUtil.java

            Encdec.enc_uint32le(0x00000000, temp, 4); // Reserved
            Encdec.enc_uint64le(nanos1601, temp, 8);
            System.arraycopy(clientChallenge, 0, temp, 16, 8);
            Encdec.enc_uint32le(0x00000000, temp, 24); // Unknown
            if ( avPairs != null )
                System.arraycopy(avPairs, 0, temp, 28, avPairsLength);
            Encdec.enc_uint32le(0x00000000, temp, 28 + avPairsLength); // mystery bytes!
    
    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/internal/smb2/ioctl/SrvCopychunkCopy.java

         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            System.arraycopy(this.sourceKey, 0, dst, dstIndex, 24);
            dstIndex += 24;
    
            SMBUtil.writeInt4(this.chunks.length, dst, dstIndex);
            dstIndex += 4;
    
            dstIndex += 4; // Reserved
    
            for ( SrvCopychunk chk : this.chunks ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            decrypt = new byte[result.length];
            System.arraycopy(result, 0, decrypt, 0, result.length);
    
            int tempSize = decrypt.length - 24;
    
            byte[] output = new byte[tempSize];
            System.arraycopy(decrypt, 24, output, 0, tempSize);
    
            decrypt = output;
            return decrypt;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/DES.java

                        pcr[j] = pc1m[l];
                    else
                        pcr[j] = pc1m[l-28];
                }
                for ( j = 0; j < 24; ++j ) {
                    if ( pcr[pc2[j]] != 0 )
                        kn[m] |= bigbyte[j];
                    if ( pcr[pc2[j+24]] != 0 )
                        kn[n] |= bigbyte[j];
                }
            }
            cookey( kn, KnL );
        }
    
    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)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 24 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 24");
            }
    
            this.oplockLevel = buffer[ bufferIndex + 2 ];
            bufferIndex += 4;
            bufferIndex += 4; // Reserved2
    
            this.fileId = new byte[16];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.6K bytes
    - Viewed (0)
Back to top