Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for writeSecurityBuffer (0.2 sec)

  1. src/main/java/jcifs/ntlmssp/Type1Message.java

                pos += 4;
    
                writeULong(type1, pos, flags);
                pos += 4;
    
                int domOffOff = writeSecurityBuffer(type1, pos, domain);
                pos += 8;
    
                int wsOffOff = writeSecurityBuffer(type1, pos, workstation);
                pos += 8;
    
                if ( ( flags & NTLMSSP_NEGOTIATE_VERSION ) != 0 ) {
    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)
  2. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                int offset = 64;
                writeSecurityBuffer(type3, 12, offset, lmResponse);
                offset += lmLength;
                writeSecurityBuffer(type3, 20, offset, ntResponse);
                offset += ntLength;
                writeSecurityBuffer(type3, 28, offset, domain);
                offset += domainLength;
                writeSecurityBuffer(type3, 36, offset, user);
                offset += userLength;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type3Message.java

            pos += 4;
    
            int lmOff = writeSecurityBuffer(type3, 12, lmResponseBytes);
            pos += 8;
            int ntOff = writeSecurityBuffer(type3, 20, ntResponseBytes);
            pos += 8;
            int domOff = writeSecurityBuffer(type3, 28, domainBytes);
            pos += 8;
            int userOff = writeSecurityBuffer(type3, 36, userBytes);
            pos += 8;
            int wsOff = writeSecurityBuffer(type3, 44, workstationBytes);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 30.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                System.arraycopy(NTLMSSP_SIGNATURE, 0, type1, 0, 8);
                writeULong(type1, 8, 1);
                writeULong(type1, 12, flags);
                if (hostInfo) {
                    writeSecurityBuffer(type1, 16, 32, domain);
                    writeSecurityBuffer(type1, 24, 32 + domain.length, workstation);
                }
                return type1;
            } catch (IOException ex) {
                throw new IllegalStateException(ex.getMessage());
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                writeULong(type2, 8, 2);
                writeSecurityBuffer(type2, 12, data, target);
                writeULong(type2, 20, flags);
                System.arraycopy(challenge != null ? challenge : new byte[8], 0,
                        type2, 24, 8);
                if (context != null) System.arraycopy(context, 0, type2, 32, 8);
                if (targetInformation != null) {
                    writeSecurityBuffer(type2, 40, data + target.length,
    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)
  6. src/main/java/jcifs/ntlmssp/Type2Message.java

            pos += NTLMSSP_SIGNATURE.length;
    
            writeULong(type2, pos, NTLMSSP_TYPE2);
            pos += 4;
    
            // TargetNameFields
            int targetNameOff = writeSecurityBuffer(type2, pos, targetBytes);
            pos += 8;
    
            writeULong(type2, pos, flags);
            pos += 4;
    
            // ServerChallenge
            byte[] challengeBytes = getChallenge();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

        }
    
        static void writeUShort(byte[] dest, int offset, int ushort) {
            dest[offset] = (byte) (ushort & 0xff);
            dest[offset + 1] = (byte) (ushort >> 8 & 0xff);
        }
    
        static void writeSecurityBuffer(byte[] dest, int offset, int bodyOffset,
                byte[] src) {
            int length = (src != null) ? src.length : 0;
            if (length == 0) return;
            writeUShort(dest, offset, length);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/NtlmMessage.java

        static void writeUShort ( byte[] dest, int offset, int ushort ) {
            dest[ offset ] = (byte) ( ushort & 0xff );
            dest[ offset + 1 ] = (byte) ( ushort >> 8 & 0xff );
        }
    
    
        static int writeSecurityBuffer ( byte[] dest, int offset, byte[] src ) {
            int length = ( src != null ) ? src.length : 0;
            if ( length == 0 ) {
                return offset + 4;
            }
            writeUShort(dest, offset, length);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.1K bytes
    - Viewed (0)
Back to top