Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for Capability (0.73 sec)

  1. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

         * Get interface capabilities
         *
         * @return capability flags
         */
        public int getCapability() {
            return capability;
        }
    
        /**
         * Set interface capabilities
         *
         * @param capability capability flags
         */
        public void setCapability(int capability) {
            this.capability = capability;
            // Update capability flags based on bitmask
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/spnego/NegTokenInit.java

         */
        public static final int SEQUENCE_CHECKING = 0x10;
        /**
         * Context flag for anonymity capability
         */
        public static final int ANONYMITY = 0x08;
        /**
         * Context flag for confidentiality (encryption) capability
         */
        public static final int CONFIDENTIALITY = 0x04;
        /**
         * Context flag for integrity (signing) capability
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int CAP_NONE = 0x0000;
        /** Raw mode capability */
        int CAP_RAW_MODE = 0x0001;
        /** MPX mode capability */
        int CAP_MPX_MODE = 0x0002;
        /** Unicode capability */
        int CAP_UNICODE = 0x0004;
        /** Large files capability */
        int CAP_LARGE_FILES = 0x0008;
        /** NT SMBs capability */
        int CAP_NT_SMBS = 0x0010;
        /** RPC remote APIs capability */
        int CAP_RPC_REMOTE_APIS = 0x0020;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        /**
         * Share capability indicating DFS support.
         */
        public static final int SMB2_SHARE_CAP_DFS = 0x8;
    
        /**
         * Share capability indicating continuous availability support.
         */
        public static final int SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY = 0x10;
    
        /**
         * Share capability indicating scale-out support.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

         * @throws CIFSException if a general CIFS error occurs
         */
        void ensureDFSResolved() throws CIFSException;
    
        /**
         * Checks if the server has the specified capability
         * @param cap the capability flag to check
         * @return whether the capability is present
         * @throws CIFSException if an error occurs checking capabilities
         */
        boolean hasCapability(int cap) throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

        }
    
        @Nested
        @DisplayName("Global Capability Constants")
        class GlobalCapabilityConstants {
    
            @Test
            @DisplayName("DFS capability should be 0x1")
            void testGlobalCapDfs() {
                assertEquals(0x1, Smb2Constants.SMB2_GLOBAL_CAP_DFS, "DFS capability must be 0x1");
            }
    
            @Test
            @DisplayName("Leasing capability should be 0x2")
            void testGlobalCapLeasing() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/SmbNegotiationResponse.java

         *
         * @return whether signing has been negotiated
         */
        boolean isSigningNegotiated();
    
        /**
         * Checks whether a specific capability has been negotiated.
         *
         * @param cap the capability flag to check
         * @return whether capability is negotiated
         */
        boolean haveCapabilitiy(int cap);
    
        /**
         * Gets the negotiated send buffer size.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            assertTrue((response.getShareFlags() & Smb2TreeConnectResponse.SMB2_SHAREFLAG_ENCRYPT_DATA) != 0);
        }
    
        @Test
        @DisplayName("Should handle all capability flags")
        void testAllCapabilityFlags() throws SMBProtocolDecodingException {
            // Test each capability flag individually
            int[] capabilityFlags = { Smb2TreeConnectResponse.SMB2_SHARE_CAP_DFS,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbConstants.java

        /**
         * Raw mode transfers are supported capability.
         */
        int CAP_RAW_MODE = 0x0001;
        /**
         * Multiplex mode is supported capability.
         */
        int CAP_MPX_MODE = 0x0002;
        /**
         * Unicode strings are supported capability.
         */
        int CAP_UNICODE = 0x0004;
        /**
         * Large files are supported capability.
         */
        int CAP_LARGE_FILES = 0x0008;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertFalse(request.isSigningEnforced());
            assertTrue(request instanceof ServerMessageBlock2Request);
        }
    
        @Test
        @DisplayName("Should set DFS capability when enabled")
        void testDfsCapability() {
            // Given
            when(mockConfig.isDfsDisabled()).thenReturn(false);
    
            // When
            request = new Smb2NegotiateRequest(mockConfig, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top