Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for calculateMIC (0.06 sec)

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

            verify(this.mechContext, times(1)).dispose();
        }
    
        @Test
        @DisplayName("calculateMIC throws when context not established")
        void testCalculateMICRequiresEstablished() throws Exception {
            SpnegoContext ctx = newContext();
            CIFSException ex = assertThrows(CIFSException.class, () -> ctx.calculateMIC(new byte[] { 1 }));
            assertEquals("Context is not established", ex.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SSPContext.java

         * @param data the data to calculate MIC for
         * @return MIC
         * @throws CIFSException if an error occurs calculating the MIC
         */
        byte[] calculateMIC(byte[] data) throws CIFSException;
    
        /**
         * Verifies a Message Integrity Code (MIC) for the given data.
         * @param data the data to verify
         * @param mic the MIC to verify against
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top