Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for EncryptionNegotiateContext (0.55 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

                        { EncryptionNegotiateContext.CIPHER_AES128_CCM, EncryptionNegotiateContext.CIPHER_AES128_GCM, 0x3, 0x4 };
                EncryptionNegotiateContext originalContext = new EncryptionNegotiateContext(mockConfig, originalCiphers);
    
                int encoded = originalContext.encode(buffer, 0);
    
                EncryptionNegotiateContext decodedContext = new EncryptionNegotiateContext();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

            }
        }
    
        @Nested
        @DisplayName("EncryptionNegotiateContext Tests")
        class EncryptionNegotiateContextTest {
    
            private EncryptionNegotiateContext context;
            private int[] testCiphers;
    
            @BeforeEach
            void setUp() {
                testCiphers = new int[] { EncryptionNegotiateContext.CIPHER_AES128_CCM, EncryptionNegotiateContext.CIPHER_AES128_GCM };
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            return ctx;
        }
    
        private NegotiateContextRequest createMockEncryptionContext() {
            EncryptionNegotiateContext ctx = new EncryptionNegotiateContext();
            try {
                setPrivateField(ctx, "ciphers",
                        new int[] { EncryptionNegotiateContext.CIPHER_AES128_GCM, EncryptionNegotiateContext.CIPHER_AES128_CCM });
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                if (ncr == null) {
                    continue;
                }
                if (!foundEnc && ncr.getContextType() == EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE) {
                    foundEnc = true;
                    final EncryptionNegotiateContext enc = (EncryptionNegotiateContext) ncr;
                    if (!checkEncryptionContext(req, enc)) {
                        return false;
                    }
    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/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, contexts[0].getContextType());
    
            // Verify encryption context
            assertTrue(contexts[1] instanceof EncryptionNegotiateContext);
            assertEquals(EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE, contexts[1].getContextType());
    
            // Verify salt was generated
            assertArrayEquals(testSalt, request.getPreauthSalt());
        }
    
        @Test
    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)
  6. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

        /**
         * AES-128-CCM cipher identifier for SMB3 encryption
         */
        public static final int CIPHER_AES_128_CCM = EncryptionNegotiateContext.CIPHER_AES128_CCM;
        /**
         * AES-128-GCM cipher identifier for SMB3.1.1 encryption
         */
        public static final int CIPHER_AES_128_GCM = EncryptionNegotiateContext.CIPHER_AES128_GCM;
        /**
         * AES-256-CCM cipher identifier for SMB3 encryption (future support)
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
Back to Top