Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEncodeAndDecode (0.06 sec)

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

                assertEquals(4 + (count * 2) + 16, encoded);
                assertEquals(context.size(), encoded);
            }
    
            @Test
            @DisplayName("Should encode and decode correctly")
            void testEncodeAndDecode() throws SMBProtocolDecodingException {
                int[] hashAlgos = { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512, 2, 3 };
                byte[] salt = new byte[32];
                new SecureRandom().nextBytes(salt);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top