Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for negotiate2 (0.3 sec)

  1. src/main/java/jcifs/smb/SmbTransportImpl.java

         */
        @Override
        public byte[] getServerEncryptionKey () {
            if ( this.negotiated == null ) {
                return null;
            }
    
            if ( this.negotiated instanceof SmbComNegotiateResponse ) {
                return ( (SmbComNegotiateResponse) this.negotiated ).getServerData().encryptionKey;
            }
            return null;
        }
    
    
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Connection.kt

       * HTTPS.
       */
      fun handshake(): Handshake?
    
      /**
       * Returns the protocol negotiated by this connection, or [Protocol.HTTP_1_1] if no protocol
       * has been negotiated. This method returns [Protocol.HTTP_1_1] even if the remote peer is using
       * [Protocol.HTTP_1_0].
       */
      fun protocol(): Protocol
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
    
                if (++mid == 32000) mid = 1;
                NEGOTIATE_REQUEST.mid = mid;
                int n = NEGOTIATE_REQUEST.encode( sbuf, 4 );
                Encdec.enc_uint32be( n & 0xFFFF, sbuf, 0 ); /* 4 byte ssn msg header */
    
                if (log.level >= 4) {
                    log.println( NEGOTIATE_REQUEST );
                    if (log.level >= 6) {
                        Hexdump.hexdump( log, sbuf, 4, n );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                    log.error("Multiple preauth negotiate contexts");
                    return false;
                }
            }
    
            if ( !foundPreauth ) {
                log.error("Missing preauth negotiate context");
                return false;
            }
            if ( !foundEnc && ( caps & Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION ) != 0 ) {
                log.error("Missing encryption negotiate context");
                return false;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Mar 22 10:09:46 GMT 2020
    - 17.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmContext.java

            this.ntlmsspFlags = this.ntlmsspFlags | NtlmFlags.NTLMSSP_REQUEST_TARGET | NtlmFlags.NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
                    | NtlmFlags.NTLMSSP_NEGOTIATE_128;
            if ( !auth.isAnonymous() ) {
                this.ntlmsspFlags |= NtlmFlags.NTLMSSP_NEGOTIATE_SIGN | NtlmFlags.NTLMSSP_NEGOTIATE_ALWAYS_SIGN | NtlmFlags.NTLMSSP_NEGOTIATE_KEY_EXCH;
            }
            else if ( auth.isGuest() ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 15.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/NtlmFlags.java

         */
        public static final int NTLMSSP_NEGOTIATE_SIGN = 0x00000010;
    
        /**
         * Specifies that communication across the authenticated channel
         * should be encrypted (message confidentiality).
         */
        public static final int NTLMSSP_NEGOTIATE_SEAL = 0x00000020;
    
        /**
         * Indicates datagram authentication.
         */
        public static final int NTLMSSP_NEGOTIATE_DATAGRAM_STYLE = 0x00000040;
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

            super(tc.getConfig(), SMB_COM_SESSION_SETUP_ANDX, andx);
            this.negotiated = negotiated;
            this.capabilities = negotiated.getNegotiatedCapabilities();
            ServerData server = negotiated.getServerData();
            if ( server.security == SmbConstants.SECURITY_USER ) {
                if ( cred instanceof NtlmPasswordAuthenticator ) {
                    NtlmPasswordAuthenticator a = (NtlmPasswordAuthenticator) cred;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Mar 17 10:20:23 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java

        */
        public static final int NTLMSSP_NEGOTIATE_SIGN = 0x00000010;
    
        /**
        * Specifies that communication across the authenticated channel
        * should be encrypted (message confidentiality).
        */
        public static final int NTLMSSP_NEGOTIATE_SEAL = 0x00000020;
    
        /**
        * Indicates datagram authentication.
        */
        public static final int NTLMSSP_NEGOTIATE_DATAGRAM_STYLE = 0x00000040;
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 5.3K bytes
    - Viewed (1)
  9. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                }
            }
        }
    
        public void destroy() {
        }
    
        /**
         * This method simply calls <tt>negotiate( req, resp, false )</tt>
         * and then <tt>chain.doFilter</tt>. You can override and call
         * negotiate manually to achive a variety of different behavior.
         */
        public void doFilter( ServletRequest request,
                    ServletResponse response,
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/Type2Message.java

            if ( type1 == null )
                return getDefaultFlags(tc);
            int flags = NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION;
            int type1Flags = type1.getFlags();
            flags |= ( ( type1Flags & NTLMSSP_NEGOTIATE_UNICODE ) != 0 ) ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM;
            if ( ( type1Flags & NTLMSSP_REQUEST_TARGET ) != 0 ) {
                String domain = tc.getConfig().getDefaultDomain();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
Back to top