Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for verifyMIC_failure_wraps (0.26 sec)

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

            verify(gssContext, times(1)).verifyMIC(eq(mic), eq(0), eq(1), eq(data), eq(0), eq(2), any());
        }
    
        @Test
        @DisplayName("verifyMIC wraps GSSException into CIFSException")
        void verifyMIC_failure_wraps() throws Exception {
            byte[] data = new byte[] { 7 };
            byte[] mic = new byte[] { 8 };
            doThrow(new GSSException(GSSException.BAD_MIC)).when(gssContext)
    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