Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testVerifyMICThrows (0.08 sec)

  1. src/test/java/jcifs/smb/SSPContextTest.java

                assertThrows(CIFSException.class, () -> ctx.initSecContext(null, 0, 1));
            }
    
            @Test
            @DisplayName("verifyMIC throws on mismatch and nulls")
            void testVerifyMICThrows() throws Exception {
                DummySSPContext ctx = new DummySSPContext(new byte[] { 1 }, true, null, null, 0, true);
                byte[] data = new byte[] { 1, 2, 3 };
                byte[] wrongMic = new byte[] { 0 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top