Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for iostream (0.17 sec)

  1. src/main/java/jcifs/smb1/util/LogStream.java

    3 - almost everything
    N - debugging
     */
    
    public class LogStream extends PrintStream {
    
        private static LogStream inst;
    
        public static int level = 1;
    
        public LogStream( PrintStream stream ) {
            super( stream );
        }
    
        public static void setLevel( int level ) {
            LogStream.level = level;
        }
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SigningDigest.java

    import java.security.NoSuchAlgorithmException;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.util.Hexdump;
    import jcifs.smb1.util.LogStream;
    
    import java.io.IOException;
    
    /**
     * To filter 0 len updates and for debugging
     */
    
    public class SigningDigest implements SmbConstants {
    
        static LogStream log = LogStream.getInstance();
    
        private MessageDigest digest;
        private byte[] macSigningKey;
        private boolean bypass = false;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/transport/Transport.java

     * concurrently.
     */
    
    public abstract class Transport implements Runnable {
    
        static int id = 0;
        static LogStream log = LogStream.getInstance();
    
        public static int readn( InputStream in,
                    byte[] b,
                    int off,
                    int len ) throws IOException {
            int i = 0, n = -5;
    
            while (i < len) {
                n = in.read( b, off + i, len - i );
                if (n <= 0) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            }
        }
    
    /**
     * Closes this output stream and releases any system resources associated
     * with it.
     *
     * @throws IOException if a network error occurs
     */
    
        public void close() throws IOException {
            file.close();
            tmp = null;
        }
    
    /**
     * Writes the specified byte to this file output stream.
     *
     * @throws IOException if a network error occurs
     */
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/Handler.java

        };
    
        private static URLStreamHandlerFactory factory;
    
        /**
         * Sets the URL stream handler factory for the environment.  This
         * allows specification of the factory used in creating underlying
         * stream handlers.  This can be called once per JVM instance.
         *
         * @param factory The URL stream handler factory.
         */
        public static void setURLStreamHandlerFactory(
    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)
  6. src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java

            ASN1Sequence authSequence;
            try {
                try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) {
                    authSequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                throw new PACDecodingException("Empty kerberos ticket");
    
            ASN1Sequence sequence;
            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);
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/https/Handler.java

    /**
     * A <code>URLStreamHandler</code> used to provide NTLM authentication
     * capabilities to the default HTTPS handler.  This acts as a wrapper,
     * handling authentication and passing control to the underlying
     * stream handler.
     */
    public class Handler extends jcifs.smb1.http.Handler {
    
        /**
         * The default HTTPS port (<code>443</code>).
         */
        public static final int DEFAULT_HTTPS_PORT = 443;
    
        /**
    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)
  9. src/main/java/jcifs/pac/kerberos/KerberosToken.java

            byte[] content;
            try ( ASN1InputStream stream = new ASN1InputStream(token) ) {
                content = ASN1Util.readUnparsedTagged(0, 0x8000, stream);
            }catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos token", e);
            }
    
            try ( ASN1InputStream stream = new ASN1InputStream(content) ) {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

                throw new PACDecodingException("Empty kerberos ApReq");
    
            ASN1Sequence sequence;
            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);
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 3.9K bytes
    - Viewed (0)
Back to top