Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for fstream (0.24 sec)

  1. 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)
  2. src/main/java/jcifs/pac/ASN1Util.java

        }
    
    
        /**
         * 
         * @param type
         * @param stream
         * @return next object from stream cast to type
         * @throws PACDecodingException
         * @throws IOException
         */
        public static <T extends ASN1Primitive> T as ( Class<T> type, ASN1InputStream stream ) throws PACDecodingException, IOException {
            return as(type, stream.readObject());
        }
    
    
        /**
         *
         * @param type
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

         * to the <code>OutputStream</code> associated with this Named
         * Pipe instance although this is not a requirement (e.g. a
         * read-only named pipe would write data to this stream on
         * connection). Reading from this stream may block. Therefore it
         * may be necessary that an addition thread be used to read and
         * write to a Named Pipe.
         */
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/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.
     * 
     * @deprecated {@link NtlmHttpURLConnection} is broken by design.
     */
    @Deprecated
    public class Handler extends jcifs.http.Handler {
    
        /**
         * The default HTTPS port (<code>443</code>).
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

        }
        public synchronized int read( byte[] b ) throws IOException {
            return read( b, 0, b.length );
        }
    
        /* This method will not return until len bytes have been read
         * or the stream has been closed.
         */
    
        public synchronized int read( byte[] b, int off, int len ) throws IOException {
            if( len == 0 ) {
                return 0;
            }
            tot = 0;
    
            while( true ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            update(sequence, 0, sequence.length);
            index += 8;
            if ( msg.getCommand() == ServerMessageBlock.SMB_COM_READ_ANDX ) {
                /*
                 * SmbComReadAndXResponse reads directly from the stream into separate byte[] b.
                 */
                SmbComReadAndXResponse raxr = (SmbComReadAndXResponse) msg;
                int length = msg.getLength() - raxr.getDataLength();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 10.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/Config.java

                if( log.level > 1 )
                    log.println( "SecurityException: jcifs.smb1 will ignore System properties" );
            }
        }
    
        /**
         * Load the <code>Config</code> with properties from the stream
         * <code>in</code> from a <code>Properties</code> file.
         */
    
        public static void load( InputStream in ) throws IOException {
            if( in != null ) {
                prp.load( in );
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
Back to top