- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for verifyMIC (0.06 seconds)
-
src/test/java/jcifs/smb/SpnegoContextTest.java
verify(this.mechContext, never()).calculateMIC(any()); } @Test @DisplayName("verifyMIC throws when context not established") void testVerifyMICRequiresEstablished() throws Exception { SpnegoContext ctx = newContext(); CIFSException ex = assertThrows(CIFSException.class, () -> ctx.verifyMIC(new byte[] { 1 }, new byte[] { 2 })); assertEquals("Context is not established", ex.getMessage());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SSPContext.java
* @param data the data to verify * @param mic the MIC to verify against * @throws CIFSException if the MIC verification fails or an error occurs */ void verifyMIC(byte[] data, byte[] mic) throws CIFSException; /** * Checks whether Message Integrity Code (MIC) is available for use. * @return whether MIC can be used */ boolean isMICAvailable();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0)