Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 56 for Negotiation (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/internal/SmbNegotiationResponse.java

        /**
         * Check if the negotiation response is valid
         *
         * @param cifsContext the CIFS context
         * @param request the negotiation request
         * @return whether the protocol negotiation was successful
         */
        boolean isValid(CIFSContext cifsContext, SmbNegotiationRequest request);
    
        /**
         * Gets the SMB dialect version selected by the server.
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbTransportImplTest.java

            transport.close(); // release once
        }
    
        @Test
        @DisplayName("Server encryption key is returned for SMB1 negotiation only")
        void serverEncryptionKey() {
            // No negotiation yet -> null
            assertNull(transport.getServerEncryptionKey());
    
            // SMB1 negotiation with server data
            SmbComNegotiateResponse smb1 = new SmbComNegotiateResponse(ctx);
            ServerData sd = smb1.getServerData();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java

            this.maxFragmentedSize = RdmaCapabilities.DEFAULT_MAX_FRAGMENTED_SIZE;
        }
    
        /**
         * Check if negotiation was successful
         *
         * @return true if successful, false otherwise
         */
        public boolean isSuccess() {
            return status == 0;
        }
    
        /**
         * Get negotiation status
         *
         * @return status code (0 = success)
         */
        public int getStatus() {
            return status;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/com/ServerData.java

     */
    package jcifs.internal.smb1.com;
    
    /**
     * Container for SMB server negotiation data.
     * This class holds the server capabilities, configuration, and security
     * parameters received during SMB protocol negotiation.
     *
     * Stores server-specific data obtained during SMB1 protocol negotiation.
     */
    public class ServerData {
    
        /**
         * Default constructor for ServerData.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/PreauthIntegrityService.java

    /**
     * Enhanced Pre-Authentication Integrity Service for SMB 3.1.1.
     *
     * Provides comprehensive pre-authentication integrity protection against
     * downgrade attacks by maintaining cryptographic hash chains of all
     * negotiation and session setup messages.
     */
    public class PreauthIntegrityService {
    
        private static final Logger log = LoggerFactory.getLogger(PreauthIntegrityService.class);
    
        // Hash algorithm constants
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/spnego/NegTokenTarg.java

        public NegTokenTarg(final byte[] token) throws IOException {
            parse(token);
        }
    
        /**
         * Gets the negotiation result code
         * @return the result code
         */
        public int getResult() {
            return this.result;
        }
    
        /**
         * Sets the negotiation result code
         * @param result the result code to set
         */
        public void setResult(final int result) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/ntlmssp/NtlmFlags.java

         * client workstation has membership is supplied in the Type-1 message.
         * This is used in the negotation of local authentication.
         */
        int NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED = 0x00001000;
    
        /**
         * Indicates whether the OEM-formatted workstation name is supplied
         * in the Type-1 message. This is used in the negotiation of local
         * authentication.
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateRequest.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.rdma;
    
    /**
     * RDMA negotiation request parameters.
     *
     * Used during RDMA connection establishment to negotiate
     * protocol version and connection parameters.
     */
    public class RdmaNegotiateRequest {
    
        private int minVersion;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

         * @param skipAuthentication If true the negotiation is only done if it is
         * initiated by the client (MSIE post requests after successful NTLM SSP
         * authentication). If false and the user has not been authenticated yet
         * the client will be forced to send an authentication (server sends
         * HttpServletResponse.SC_UNAUTHORIZED).
         * @return True if the negotiation is complete, otherwise false
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            assertEquals(0, messageBytes[9] & 0xFF);
            assertEquals(0, messageBytes[10] & 0xFF);
            assertEquals(0, messageBytes[11] & 0xFF);
        }
    
        @Test
        @DisplayName("Should handle Unicode negotiation flag")
        void testUnicodeNegotiation() {
            // Given
            int unicodeFlags = NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE;
            int oemFlags = NtlmFlags.NTLMSSP_NEGOTIATE_OEM;
    
            // When
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
Back to Top