Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 77 for negotiation (0.05 sec)

  1. src/main/java/jcifs/internal/smb2/nego/NegotiateContextRequest.java

     */
    package jcifs.internal.smb2.nego;
    
    import jcifs.Encodable;
    
    /**
     * SMB2 Negotiate Context request data structure.
     *
     * This class represents negotiate contexts used in SMB 3.1.1
     * for capability negotiation and security enhancements.
     *
     * @author mbechler
     */
    public interface NegotiateContextRequest extends Encodable {
    
        /**
         * Gets the negotiate context type.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
            final SmbNegotiationResponse r = this.negotiated;
            if (r == null) {
                throw new SmbException("Connection did not complete, failed to get negotiation response");
            }
            return r;
        }
    
        /**
         * @return whether this is SMB2 transport
         * @throws SmbException
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

        }
    
        @Override
        public RdmaNegotiateResponse negotiate(RdmaNegotiateRequest request) throws IOException {
            // For TCP fallback, we simulate successful negotiation
            RdmaNegotiateResponse response = new RdmaNegotiateResponse();
            response.setStatus(0); // Success
            response.setSelectedVersion(request.getMaxVersion());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @Mock
        private Response response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test isValid returns true for valid negotiation")
        void testIsValidReturnsTrue() {
            // Arrange
            when(negotiationResponse.isValid(cifsContext, negotiationRequest)).thenReturn(true);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/SecurityConfigurationTest.java

            // Verify IPC signing is enforced (this is a security requirement)
            assertTrue("IPC signing should be enforced for security", config.isIpcSigningEnforced());
        }
    
        /**
         * Test secure negotiation requirement for SMB3
         */
        @Test
        public void testSecureNegotiateRequired() throws CIFSException {
            BaseConfiguration config = new BaseConfiguration(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/spnego/SpnegoToken.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.spnego;
    
    import java.io.IOException;
    
    /**
     * Abstract base class for SPNEGO authentication tokens used in GSS-API negotiation
     */
    public abstract class SpnegoToken {
    
        /**
         * Protected constructor for SPNEGO token implementations.
         */
        protected SpnegoToken() {
        }
    
        private byte[] mechanismToken;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB 3.1.1 Compression Capabilities negotiate context.
     *
     * This context is used during SMB2 negotiation to negotiate compression
     * algorithms for SMB3 data compression support.
     */
    public class CompressionNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. docs/smb3-features/05-rdma-smb-direct-design.md

            RdmaNegotiateResponse response = rdmaConnection.negotiate(request);
            
            if (!response.isSuccess()) {
                throw new IOException("RDMA negotiation failed: " + response.getStatus());
            }
            
            // Update connection parameters based on negotiation
            credits.setCreditsGranted(response.getCreditsGranted());
            maxReadWriteSize = Math.min(maxReadWriteSize, response.getMaxReadWriteSize());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

         */
        public final int getCommonCapabilities() {
            return this.commonCapabilities;
        }
    
        /**
         * Gets the initial security blob for authentication negotiation.
         *
         * @return initial security blob
         */
        public byte[] getSecurityBlob() {
            return this.securityBuffer;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

     *
     * ## Modern TLS
     *
     * There are trade-offs when selecting which options to include when negotiating a secure connection
     * to a remote host. Newer TLS options are quite useful:
     *
     *  * Server Name Indication (SNI) enables one IP address to negotiate secure connections for
     *    multiple domain names.
     *
     *  * Application Layer Protocol Negotiation (ALPN) enables the HTTPS port (443) to be used to
     *    negotiate HTTP/2.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top