Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for negotiation (0.05 sec)

  1. src/test/java/jcifs/internal/SmbNegotiationTest.java

        void testConstructor() {
            // Verify all fields are properly initialized
            assertNotNull(negotiation);
            assertSame(mockRequest, negotiation.getRequest());
            assertSame(mockResponse, negotiation.getResponse());
            assertSame(testRequestBuffer, negotiation.getRequestRaw());
            assertSame(testResponseBuffer, negotiation.getResponseRaw());
        }
    
        @Test
        @DisplayName("Constructor with null request should work")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. 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.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/SmbNegotiation.java

     */
    package jcifs.internal;
    
    /**
     * Container class for SMB protocol negotiation state.
     * Holds the negotiation request, response, and raw buffer data exchanged
     * between client and server during SMB protocol version negotiation.
     *
     * @author mbechler
     */
    public final class SmbNegotiation {
    
        private final SmbNegotiationRequest request;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. 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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (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.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. 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.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

            this.creditsRequested = creditsRequested;
        }
    
        /**
         * Get the negotiation status
         *
         * @return status code
         */
        public int getStatus() {
            return status;
        }
    
        /**
         * Set the negotiation status
         *
         * @param status status code
         */
        public void setStatus(int status) {
            this.status = status;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top