Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isEncryptionSupported (0.74 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Given
            setPrivateField(response, "supportsEncryption", true);
    
            // Then
            assertTrue(response.isEncryptionSupported());
    
            // Given
            setPrivateField(response, "supportsEncryption", false);
    
            // Then
            assertFalse(response.isEncryptionSupported());
        }
    
        @Test
        @DisplayName("Should check if can reuse")
        void testCanReuse() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

        }
    
        /**
         * Checks whether SMB3 encryption is supported by the server.
         *
         * @return whether SMB encryption is supported by the server
         */
        public boolean isEncryptionSupported() {
            return this.supportsEncryption;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#canReuse(jcifs.CIFSContext, boolean)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
Back to top