Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for getMessage (0.25 sec)

  1. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

                securityDescriptor = new SecurityDescriptor();
                bufferIndex += securityDescriptor.decode(buffer, bufferIndex, len);
            } catch (IOException ioe) {
                throw new RuntimeException(ioe.getMessage());
            }
    
            return bufferIndex - start;
        }
        public String toString() {
            return new String( "NtTransQuerySecurityResponse[" +
                super.toString() + "]" );
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/transport/Transport.java

                            response.isReceived = true;
                            notifyAll();
                        }
                    }
                } catch( Exception ex ) {
                    String msg = ex.getMessage();
                    boolean timeout = msg != null && msg.equals( "Read timed out" );
                    /* If just a timeout, try to disconnect gracefully
                     */
                    boolean hard = timeout == false;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                md4.update(password.getBytes(SmbConstants.UNI_ENCODING));
                return md4.digest();
            } catch (UnsupportedEncodingException uee) {
                throw new RuntimeException(uee.getMessage());
            }
        }
        public static byte[] nTOWFv2(String domain, String username, String password)
        {
            try {
                MD4 md4 = new MD4();
    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)
  4. src/main/java/jcifs/spnego/NegTokenTarg.java

                der.writeObject(new DERTaggedObject(true, 1, new DERSequence(fields)));
                return collector.toByteArray();
            }
            catch ( IOException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
        @Override
        protected void parse ( byte[] token ) throws IOException {
            try ( ASN1InputStream der = new ASN1InputStream(token) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/spnego/NegTokenInit.java

                der.writeObject(derApplicationSpecific);
                return collector.toByteArray();
            }
            catch ( IOException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
        @Override
        protected void parse ( byte[] token ) throws IOException {
    
            try ( ASN1InputStream is = new ASN1InputStream(token) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                while (response.charAt(index) == ' ') index++;
                return Integer.parseInt(response.substring(index, index + 3));
            } catch (Exception ex) {
                throw new IOException(ex.getMessage());
            }
        }
    
        private void doHandshake() throws IOException {
            connect();
            try {
                int response = parseResponseCode();
    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)
  7. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                    writeSecurityBuffer(type1, 24, 32 + domain.length, workstation);
                }
                return type1;
            } catch (IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        public String toString() {
            String suppliedDomain = getSuppliedDomain();
            String suppliedWorkstation = getSuppliedWorkstation();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

                try {
                    while( used == 0 ) {
                        lock.wait();
                    }
                } catch( InterruptedException ie ) {
                    throw new IOException( ie.getMessage() );
                }
                result = pipe_buf[beg_idx] & 0xFF;
                beg_idx = ( beg_idx + 1 ) % pipe_buf.length;
            }
            return result;
        }
        public int read( byte[] b ) throws IOException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                ioe = (TransportException)root;
                root = ((TransportException)ioe).getRootCause();
            }
            if (root instanceof InterruptedException) {
                ioe = new InterruptedIOException(root.getMessage());
                ioe.initCause(root);
            }
            return ioe;
        }
    
    /**
     * Closes this input stream and releases any system resources associated with the stream.
     *
    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/util/transport/Transport.java

                            doRecv(response);
                            response.received();
                        }
                    }
                }
                catch ( Exception ex ) {
                    String msg = ex.getMessage();
                    boolean timeout = ( ex instanceof SocketTimeoutException ) || msg != null && msg.equals("Read timed out");
                    boolean closed = msg != null && msg.equals("Socket closed");
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
Back to top