Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 74 for catch (0.52 sec)

  1. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

            try {
                try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) {
                    sequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed Kerberos Ticket", e);
            }
            return sequence;
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. 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 {
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            this.openFlags = openFlags;
            this.access = (openFlags >>> 16) & 0xFFFF;
            if( append ) {
                try {
                    fp = file.length();
                } catch( SmbAuthException sae ) {
                    throw sae;
                } catch( SmbException se ) {
                    fp = 0L;
                }
            }
            if( file instanceof SmbNamedPipe && file.unc.startsWith( "\\pipe\\" )) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                    break;
                } else if (id == id0) {
                    try {
                        return new String(type2token, ri, len, SmbConstants.UNI_ENCODING);
                    } catch (java.io.UnsupportedEncodingException uee) {
                        break;
                    }
                }
                ri += len;
            }
    
            return null;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PacMac.java

                    return calculateMacHMACAES(usage, key, data);
                }
                else {
                    throw new PACDecodingException("Invalid MAC algorithm");
                }
            }
            catch ( GeneralSecurityException e ) {
                throw new PACDecodingException("Failed to calculate MAC", e);
            }
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

            int result = -1;
    
            synchronized( lock ) {
                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;
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

         * 4 = SMB_COM_DELETE_DIRECTORY
         * 5 = SMB_COM_OPEN_ANDX
         * 6 = SMB_COM_RENAME
         * 7 = SMB_COM_TRANSACTION
         * 8 = SMB_COM_QUERY_INFORMATION
         */
    
        /* All batch limits are single batch only until further notice
         */
    
        private static byte[] batchLimits = {
            1, 1, 1, 1, 1, 1, 1, 1, 0
        };
    
        static {
            String s;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NbtSocket.java

                out.write( buffer, 0, ssp0.writeWireFormat( buffer, 0 ));
    
                setSoTimeout( soTimeout );
                type = ssp0.readPacketType( in, buffer, 0 );
            } catch( IOException ioe ) {
                close();
                throw ioe;
            }
    
            switch( type ) {
                case SessionServicePacket.POSITIVE_SESSION_RESPONSE:
                    if( log.level > 2 )
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            Encdec.enc_uint32le(0, buf, i); i += 4;
            Encdec.enc_uint32le(len + 1, buf, i); i += 4;
            try {
                System.arraycopy(s.getBytes("UTF-16LE"), 0, buf, i, len * 2);
            } catch( UnsupportedEncodingException uee ) {
            }
            i += len * 2;
            buf[i++] = (byte)'\0';
            buf[i++] = (byte)'\0';
            advance(i - index);
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/Lmhosts.java

                            populate(r, tc);
                        }
                    }
                    result = this.table.get(name);
                }
            }
            catch ( IOException fnfe ) {
                log.error("Could not read lmhosts " + tc.getConfig().getLmHostsFileName(), fnfe); //$NON-NLS-1$
            }
            return result;
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
Back to top