Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 997 for smb2 (0.02 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaCredits.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 credit management for flow control.
     *
     * Credits are used to control the flow of messages between
     * RDMA peers to prevent buffer overflow.
     */
    public class RdmaCredits {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/Configuration.java

        /**
         *
         * Property {@code jcifs.smb.client.forceExtendedSecurity} (boolean, default false)
         *
         * @return whether to force extended security usage
         */
        boolean isForceExtendedSecurity();
    
        /**
         * Property {@code jcifs.smb.client.useLease} (boolean, default true)
         *
         * @return whether to use SMB2/SMB3 leases for caching
         * @since 2.2
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

    package jcifs.internal.smb2;
    
    import static jcifs.internal.smb2.ServerMessageBlock2.SMB2_FLAGS_RELATED_OPERATIONS;
    import static jcifs.internal.smb2.ServerMessageBlock2.SMB2_NEGOTIATE;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertInstanceOf;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            byte[] initialHash = preauthService.getCurrentPreauthHash(sessionId);
            assertNotNull(initialHash);
    
            // Update with negotiate message
            byte[] negotiateMessage = "SMB2 Negotiate Request".getBytes();
            preauthService.updatePreauthHash(sessionId, negotiateMessage);
    
            byte[] afterNegotiateHash = preauthService.getCurrentPreauthHash(sessionId);
            assertNotNull(afterNegotiateHash);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

        /** Whether SMB3 compression is enabled */
        protected boolean compressionEnabled = false;
        /** Preferred encryption ciphers in order of preference */
        protected String preferredCiphers = "AES_128_GCM,AES_128_CCM,AES_256_GCM,AES_256_CCM";
        /** Whether AES-256 encryption is enabled */
        protected boolean aes256Enabled = true;
        /** Whether to use SMB2/SMB3 leases for caching */
        protected boolean useLease = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

    import org.mockito.quality.Strictness;
    
    import jcifs.BaseTest;
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.smb2.ServerMessageBlock2;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2TreeConnectRequest functionality
     */
    @DisplayName("Smb2TreeConnectRequest Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

    import jcifs.Configuration;
    import jcifs.config.PropertyConfiguration;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.smb.SmbSessionInternal;
    import jcifs.smb.SmbTransportInternal;
    
    /**
     * Unit tests for SMB3 Multi-Channel functionality
     *
     * These tests verify the multi-channel implementation without requiring a real SMB server.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // When
            int headerSize = transformHeader.size();
    
            // Then
            assertEquals(52, headerSize); // SMB2 Transform Header is 52 bytes
        }
    
        // Note: SMB2 Transform Header doesn't have a protocol ID field
        // The protocol ID is part of the encrypted SMB2 message, not the transform header
    
        @Test
        @DisplayName("Should set and get signature")
        void testSignature() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

    import org.mockito.quality.Strictness;
    
    import jcifs.BaseTest;
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.smb2.ServerMessageBlock2;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2SessionSetupRequest functionality
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.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.lease;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top