Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 282 for SMB2 (0.04 seconds)

  1. src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java

     */
    package jcifs.internal.smb2.lock;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.smb2.RequestWithFileId;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Lock request message. This command is used to request byte-range locks
     * on portions of a file.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.RequestWithFileId;
    import jcifs.internal.util.SMBUtil;
    
    @ExtendWith(MockitoExtension.class)
    class Smb2CreateResponseTest {
    
        // SMB2 header size in bytes
        private static final int SMB2_HEADER_LENGTH = 64;
    
        /**
         * Build a minimal SMB2 header for a response.
         */
        private static byte[] buildSmb2Header() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java

     * Lesser General Public License for more details.
     */
    package jcifs.internal.smb2.persistent;
    
    import jcifs.internal.smb2.create.CreateContextRequest;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Durable Handle Request Create Context (DHnQ)
     *
     * MS-SMB2 Section 2.2.13.2.3
     */
    public class DurableHandleRequest implements CreateContextRequest {
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.lease;
    
    /**
     * Defines directory lease state constants for SMB2/SMB3 directory leasing.
     *
     * This class provides constants and utility methods for managing directory lease states
     * in SMB2/SMB3 protocol implementations. Directory leases enable clients to cache
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

     * Lesser General Public License for more details.
     */
    package jcifs.internal.smb2.persistent;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.create.CreateContextResponse;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Durable Handle V2 Response Create Context
     *
     * MS-SMB2 Section 2.2.14.2.4
     */
    public class DurableHandleV2Response implements CreateContextResponse {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

    import org.junit.jupiter.params.provider.MethodSource;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.DialectVersion;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2NegotiateRequest functionality
     */
    @DisplayName("Smb2NegotiateRequest Tests")
    class Smb2NegotiateRequestTest {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

    import jcifs.internal.SmbNegotiationResponse;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.smb2.io.Smb2ReadResponse;
    import jcifs.internal.smb2.io.Smb2WriteRequest;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    import jcifs.util.transport.Response;
    
    /**
     * SMB2 Negotiate Protocol response message.
     *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java

     */
    package jcifs.internal.smb2.notify;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import jcifs.Configuration;
    import jcifs.FileNotifyInformation;
    import jcifs.internal.NotifyResponse;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb1.trans.nt.FileNotifyInformationImpl;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

     * Lesser General Public License for more details.
     */
    package jcifs.internal.smb2.persistent;
    
    import java.util.Arrays;
    
    import jcifs.internal.smb2.create.CreateContextRequest;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Durable Handle Reconnect Create Context (DHnC)
     *
     * MS-SMB2 Section 2.2.13.2.5
     */
    public class DurableHandleReconnect implements CreateContextRequest {
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/config/SecurityConfigurationTest.java

            // SMB1 versions should not be allowed
            assertTrue("SMB1 should be disabled", config.getMinimumVersion().atLeast(DialectVersion.SMB202));
    
            // Minimum version should be SMB2 or higher
            assertTrue("Minimum version should be SMB2 or higher", config.getMinimumVersion().atLeast(DialectVersion.SMB202));
        }
    
        /**
         * Test that encryption is properly configured
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top