Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for 12 (0.11 sec)

  1. src/main/java/jcifs/pac/PacMac.java

                (byte) 0x99
            };
    
            byte[] output = new byte[12];
            byte[] dk = deriveKeyAES(baseKey, cst); // Checksum key
            try {
                Mac m = Mac.getInstance("HmacSHA1");
                m.init(new SecretKeySpec(dk, HMAC_KEY));
                System.arraycopy(m.doFinal(input), 0, output, 0, 12);
                return output;
            }
            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)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

        }
        public String dec_ndr_string() throws NdrException {
            align(4);
            int i = index;
            String val = null;
            int len = Encdec.dec_uint32le(buf, i);
            i += 12;
            if (len != 0) {
                len--;
                int size = len * 2;
                try {
                    if (size < 0 || size > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                        (32 + domain.length + workstation.length) : 16];
                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;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

            super(server, new lsarpc.LsarObjectAttributes(), access, policyHandle);
            object_attributes.length = 24;
    lsarpc.LsarQosInfo qos = new lsarpc.LsarQosInfo();
    qos.length = 12;
    qos.impersonation_level = 2;
    qos.context_mode = 1;
    qos.effective_only = 0;
    object_attributes.security_quality_of_service = qos;
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java

            bufferIndex += 4; // 2 reserved
            dataLength = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            dataOffset = readInt2( buffer, bufferIndex );
            bufferIndex += 12; // 10 reserved
    
            return bufferIndex - start;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            // handled special in SmbTransport.doRecv()
            return 0;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

            bufferIndex += 4; // 2 reserved
            this.dataLength = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.dataOffset = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 12; // 10 reserved
    
            return bufferIndex - start;
        }
    
    
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) {
            // handled special in SmbTransport.doRecv()
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

            buf.setIndex(start);
            encode_header(buf);
            buf.setIndex(start + length);
        }
        public void decode(NdrBuffer buf) throws NdrException {
            decode_header(buf);
    
            if (ptype != 12 && ptype != 2 && ptype != 3 && ptype != 13)
                throw new NdrException("Unexpected ptype: " + ptype);
    
            if (ptype == 2 || ptype == 3) { /* Response or Fault */
                alloc_hint = buf.dec_ndr_long();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcMessage.java

            buf.setIndex(start + this.length);
        }
    
    
        @Override
        public void decode ( NdrBuffer buf ) throws NdrException {
            decode_header(buf);
    
            if ( this.ptype != 12 && this.ptype != 2 && this.ptype != 3 && this.ptype != 13 )
                throw new NdrException("Unexpected ptype: " + this.ptype);
    
            if ( this.ptype == 2 || this.ptype == 3 ) { /* Response or Fault */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

        private static final int SHARING_DENY_READ_EXECUTE       = 0x30;
        private static final int SHARING_DENY_NONE               = 0x40;
    
        private static final int DO_NOT_CACHE  = 0x1000; // bit 12
        private static final int WRITE_THROUGH = 0x4000; // bit 14
    
        private static final int OPEN_FN_CREATE = 0x10;
        private static final int OPEN_FN_FAIL_IF_EXISTS = 0x00;
        private static final int OPEN_FN_OPEN = 0x01;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/Base64.java

                block = ((bytes[i++] & 0xff) << 16) | ((bytes[i++] & 0xff) << 8) |
                        (bytes[i++] & 0xff);
                buffer.append(ALPHABET.charAt(block >>> 18));
                buffer.append(ALPHABET.charAt((block >>> 12) & 0x3f));
                buffer.append(ALPHABET.charAt((block >>> 6) & 0x3f));
                buffer.append(ALPHABET.charAt(block & 0x3f));
            }
            if (remainder == 0) return buffer.toString();
    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)
Back to top