Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for calculateMIC_success (0.15 sec)

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

        void supportsIntegrity_alwaysTrue() {
            assertTrue(ctx.supportsIntegrity());
        }
    
        @Test
        @DisplayName("calculateMIC returns value from GSS and verifies interaction")
        void calculateMIC_success() throws Exception {
            byte[] data = new byte[] { 1, 2, 3 };
            byte[] mic = new byte[] { 9, 8 };
            when(gssContext.getMIC(eq(data), eq(0), eq(3), any())).thenReturn(mic);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top