Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 62 for SMB3 (0.4 seconds)

  1. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java

     */
    package jcifs.internal.smb2.lease;
    
    import java.security.SecureRandom;
    import java.util.Arrays;
    
    /**
     * SMB2 Lease Key
     *
     * Represents a 16-byte lease key used to identify leases in SMB2/SMB3
     * MS-SMB2 2.2.13.2.8
     */
    public class Smb2LeaseKey {
    
        private final byte[] key;
        private static final SecureRandom RANDOM = new SecureRandom();
        private static final int LEASE_KEY_SIZE = 16;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

    import jcifs.Configuration;
    import jcifs.config.PropertyConfiguration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.nego.CompressionNegotiateContext;
    
    /**
     * Comprehensive tests for SMB3 compression negotiate context.
     */
    public class CompressionNegotiateContextTest {
    
        private Configuration config;
        private CompressionNegotiateContext context;
    
        @BeforeEach
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/DialectVersion.java

    import java.util.EnumSet;
    import java.util.Set;
    
    import jcifs.internal.smb2.Smb2Constants;
    
    /**
     * Enumeration of SMB protocol dialect versions supported by JCIFS.
     * This includes legacy SMB1/CIFS as well as modern SMB2/SMB3 dialects.
     *
     * @author mbechler
     */
    public enum DialectVersion {
    
        /**
         * Legacy SMB1/CIFS
         */
        SMB1,
    
        /**
         * SMB 2.02 - Windows Vista+
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

         * @return the selectedDialect
         */
        @Override
        public DialectVersion getSelectedDialect() {
            return this.selectedDialect;
        }
    
        /**
         * Gets the encryption cipher selected for SMB3 encryption.
         *
         * @return the selectedCipher
         */
        public int getSelectedCipher() {
            return this.selectedCipher;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

     */
    package jcifs.internal.smb2;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Transform Header for encrypted messages
     *
     * This header is used to encrypt SMB2/SMB3 messages and provides the necessary
     * cryptographic parameters for decryption including the nonce, session ID, and
     * authentication tag.
     *
     * @author mbechler
     */
    public class Smb2TransformHeader implements Encodable {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

     *
     * This utility class provides static methods that enhance SmbFile operations with
     * directory leasing capabilities for improved performance through caching when
     * SMB3 directory leasing is available and enabled.
     */
    public class SmbFileDirectoryLeasingExtension {
    
        /**
         * Private constructor to prevent instantiation of this utility class
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

    import java.util.concurrent.locks.ReentrantReadWriteLock;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.smb.SmbFile;
    
    /**
     * SMB2/SMB3 Lease Manager
     *
     * Manages lease state for SMB2/SMB3 connections
     */
    public class LeaseManager {
    
        private static final Logger log = LoggerFactory.getLogger(LeaseManager.class);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  8. 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)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.SmbFile;
    
    /**
     * Handles directory change notifications for SMB3 directory leasing
     */
    public class DirectoryChangeNotifier {
    
        private static final Logger log = LoggerFactory.getLogger(DirectoryChangeNotifier.class);
    
        // Backoff and timing constants (in ms)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            assertEquals(16, nonce2.length, "GCM nonce should be 16 bytes");
            assertFalse(Arrays.equals(nonce1, nonce2), "Consecutive nonces should be different");
        }
    
        @Test
        @DisplayName("Should generate SMB3-compliant nonces with guaranteed uniqueness")
        void testSMB3CompliantNonceGeneration() {
            // Given - GCM cipher context
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
Back to Top