Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Ex (0.47 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            } catch (IOException ex) { }
            return connection.getContentEncoding();
        }
    
        public long getExpiration() {
            try {
                handshake();
            } catch (IOException ex) { }
            return connection.getExpiration();
        }
    
        public long getDate() {
            try {
                handshake();
            } catch (IOException ex) { }
            return connection.getDate();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/HMACT64.java

                ipad[i] = IPAD;
                opad[i] = OPAD;
            }
            try {
                md5 = MessageDigest.getInstance("MD5");
            } catch (Exception ex) {
                throw new IllegalStateException(ex.getMessage());
            }
            engineReset();
        }
    
        private HMACT64(HMACT64 hmac) throws CloneNotSupportedException {
            super("HMACT64");
            this.ipad = hmac.ipad;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/transport/Transport.java

                    }
                } 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;
    
                    if (!timeout && log.level >= 3)
                        ex.printStackTrace( log );
    
                    try {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  4. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/Handler.java

                            } catch (Exception ex) { }
                            if (handlerClass == null) {
                                handlerClass = ClassLoader.getSystemClassLoader(
                                        ).loadClass(className);
                            }
                            handler = (URLStreamHandler) handlerClass.newInstance();
                        } catch (Exception ex) { }
                        if (handler != null) break;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            try {
                digest = MessageDigest.getInstance("MD5");
            } catch (NoSuchAlgorithmException ex) {
                if( log.level > 0 )
                    ex.printStackTrace( log );
                throw new SmbException( "MD5", ex );
            }
    
            this.macSigningKey = macSigningKey;
            this.bypass = bypass;
            this.updates = 0;
            this.signSequence = 0;
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/HMACT64.java

        }
    
    
        @Override
        public Object clone () {
            try {
                return new HMACT64(this);
            }
            catch ( CloneNotSupportedException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
        @Override
        protected byte[] engineDigest () {
            byte[] digest = this.md5.digest();
            this.md5.update(this.opad);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/Handler.java

                            try {
                                handlerClass = Class.forName(className);
                            }
                            catch ( Exception ex ) {
                                log.debug("Failed to load handler class " + className, ex);
                            }
                            if ( handlerClass == null ) {
                                handlerClass = ClassLoader.getSystemClassLoader().loadClass(className);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                } catch (IOException ex) { }
            }
            int domainLength = domain.length;
            byte[] server = new byte[0];
            try {
                String host = NbtAddress.getLocalHost().getHostName();
                if (host != null) {
                    try {
                        server = host.getBytes(UNI_ENCODING);
                    } catch (IOException ex) { }
                }
    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)
  10. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                    uee.printStackTrace( log );
            }
            MD4 md4 = new MD4();
            md4.update( uni );
            try {
                md4.digest(p21, 0, 16);
            } catch (Exception ex) {
                if( log.level > 0 )
                    ex.printStackTrace( log );
            }
            E( p21, challenge, p24 );
            return p24;
        }
    
        /**
         * Creates the LMv2 response for the supplied information.
         *
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
Back to top