Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for lengthOf (0.21 sec)

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

                        }
                        key = null;
                    }
                    break;
                default:
                    si = arr.length;
                }
    
                si++;
            }
            while ( si < arr.length );
    
            if ( binding == null || binding.getEndpoint() == null )
                throw new DcerpcException("Invalid binding URL: " + str);
    
            return binding;
    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

                    int length)
        {
            HMACT64 hmac = new HMACT64(responseKey);
            hmac.update(serverChallenge);
            hmac.update(clientData, offset, length);
            byte[] mac = hmac.digest();
            byte[] ret = new byte[mac.length + clientData.length];
            System.arraycopy(mac, 0, ret, 0, mac.length);
            System.arraycopy(clientData, 0, ret, mac.length, clientData.length);
            return ret;
    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/smb/SmbPipeHandleImpl.java

                    req.setMaxOutputResponse(maxRecvSize);
                    Smb2IoctlResponse resp = th.send(req, RequestParam.NO_RETRY);
                    return resp.getOutputLength();
                }
                else if ( this.transact ) {
                    TransTransactNamedPipe req = new TransTransactNamedPipe(th.getConfig(), fh.getFid(), buf, off, length);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/PACTest.java

            byte[] javaChecksum;
            if ( keybytes.length == 16 ) {
                javaChecksum = sun.security.krb5.internal.crypto.Aes128.calculateChecksum(keybytes, usage, bytes, 0, bytes.length);
    
            }
            else {
                javaChecksum = sun.security.krb5.internal.crypto.Aes256.calculateChecksum(keybytes, usage, bytes, 0, bytes.length);
            }
    
    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)
  5. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            cipher.init(Cipher.DECRYPT_MODE, sk, params);
    
            byte[] result;
            result = cipher.doFinal(data);
    
            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;
    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)
  6. src/main/java/jcifs/smb/DfsImpl.java

                            ( (DfsReferralDataImpl) dr ).fixupDomain(domain);
                        }
    
                        dr.stripPathConsumed(1 + domain.length() + 1 + root.length());
    
                        if ( dr.getPathConsumed() > ( path != null ? path.length() : 0 ) ) {
                            log.error("Consumed more than we provided");
                        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileOutputStream.java

            write(this.tmp, 0, 1);
        }
    
    
        /**
         * Writes b.length bytes from the specified byte array to this
         * file output stream.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public void write ( byte[] b ) throws IOException {
            write(b, 0, b.length);
        }
    
    
        /**
         * @return whether the stream is open
    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)
  8. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                    && this.server.encryptionKeyLength != 8 && ctx.getConfig().getLanManCompatibility() == 0 ) {
                log.warn("Unexpected encryption key length: " + this.server.encryptionKeyLength);
                return false;
            }
    
            if ( req.isSigningEnforced() || this.server.signaturesRequired || ( this.server.signaturesEnabled && ctx.getConfig().isSigningEnabled() ) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            while (iterator.hasNext()) {
                String currentAuthMethod = (String) iterator.next();
                if (currentAuthMethod.startsWith("NTLM")) {
                    if (currentAuthMethod.length() == 4) {
                        authMethod = "NTLM";
                        break;
                    }
                    if (currentAuthMethod.indexOf(' ') != 4) continue;
                    authMethod = "NTLM";
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SID.java

            if ( this.origin_server != null )
                resolveWeak();
            if ( this.type == SID_TYPE_UNKNOWN ) {
                String full = toString();
                return full.substring(0, full.length() - getAccountName().length() - 1);
            }
            return this.domainName;
        }
    
    
        @Override
        public String getAccountName () {
            if ( this.origin_server != null )
                resolveWeak();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
Back to top