Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for selectedCipher (0.12 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            return this.selectedDialect;
        }
    
        /**
         * Gets the encryption cipher selected for SMB3 encryption.
         *
         * @return the selectedCipher
         */
        public int getSelectedCipher() {
            return this.selectedCipher;
        }
    
        /**
         * Gets the pre-authentication integrity hash algorithm selected for SMB 3.1.1.
         *
         * @return the selectedPreauthHash
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportImplTest.java

                Smb2NegotiateResponse smb311 = new Smb2NegotiateResponse(cfg);
                setField(smb311, "selectedDialect", DialectVersion.SMB311);
                setField(smb311, "selectedCipher", -1);
                setField(transport, "negotiated", smb311);
                Smb2EncryptionContext gcm = transport.createEncryptionContext(sessionKey, preauth);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        }
    
        @Test
        @DisplayName("Should return selected cipher")
        void testGetSelectedCipher() throws Exception {
            // Given
            setPrivateField(response, "selectedCipher", EncryptionNegotiateContext.CIPHER_AES128_GCM);
    
            // When
            int cipher = response.getSelectedCipher();
    
            // Then
            assertEquals(EncryptionNegotiateContext.CIPHER_AES128_GCM, cipher);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top