- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for integrity (0.05 sec)
-
src/main/java/jcifs/smb/PreauthIntegrityService.java
throw new CIFSException("No preauth integrity context found for session: " + sessionId); } log.warn("No preauth integrity context for session {}, skipping update", sessionId); return; } if (!context.isValid()) { throw new CIFSException("Preauth integrity context is invalid for session: " + sessionId); } try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
init.setContextFlag(NegTokenInit.INTEGRITY, true); assertTrue(init.getContextFlag(NegTokenInit.INTEGRITY)); assertEquals(NegTokenInit.CONFIDENTIALITY | NegTokenInit.INTEGRITY, init.getContextFlags()); init.setContextFlag(NegTokenInit.CONFIDENTIALITY, false); assertFalse(init.getContextFlag(NegTokenInit.CONFIDENTIALITY)); assertEquals(NegTokenInit.INTEGRITY, init.getContextFlags()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java
import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * SMB2 Pre-authentication Integrity Negotiate Context. * * This negotiate context is used in SMB 3.1.1 to establish * pre-authentication integrity protection against downgrade attacks. * * @author mbechler */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
private ASN1ObjectIdentifier[] supportedMechs; private int flags; private boolean integrity; private boolean disposed; DummySSPContext(byte[] signingKey, boolean established, String nbName, ASN1ObjectIdentifier[] supportedMechs, int flags, boolean integrity) { this.signingKey = signingKey; this.established = established; this.nbName = nbName;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java
* * @param dialect the SMB dialect version * @param sessionKey the base session key * @param preauthIntegrity the pre-authentication integrity hash (for SMB 3.1.1) or null * @return derived signing key */ public static byte[] deriveSigningKey(final int dialect, final byte[] sessionKey, final byte[] preauthIntegrity) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SSPContext.java
*/ ASN1ObjectIdentifier[] getSupportedMechs(); /** * Checks whether this mechanism supports message integrity. * @return whether this mechanisms supports integrity */ boolean supportsIntegrity(); /** * Calculates a Message Integrity Code (MIC) for the given data. * @param data the data to calculate MIC for * @return MICRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
transport = new SmbTransportImpl(context, address, 445, null, 0, false); } /** * Test that pre-auth integrity hash is properly synchronized */ @Test @DisplayName("Pre-auth integrity hash should be thread-safe") void testPreauthHashThreadSafety() throws Exception { // Setup SMB3.1.1 negotiationRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/spnego/SpnegoToken.java
} /** * Gets the mechanism list MIC (Message Integrity Code) for integrity protection * @return the mechanism list MIC bytes */ public byte[] getMechanismListMIC() { return this.mechanismListMIC; } /** * Sets the mechanism list MIC (Message Integrity Code) for integrity protection * @param mechanismListMIC the mechanism list MIC bytes */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (2) -
src/test/java/jcifs/smb1/smb1/WinErrorTest.java
import org.mockito.Mockito; /** * Tests for {@link WinError} interface constants and static arrays. * The interface has no instance methods, so the tests focus on * value correctness and array integrity. A tiny Mockito example * demonstrates that the interface can be mocked if another class * depends on it. */ public class WinErrorTest { @Nested @DisplayName("Constant value checks")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/SMBSigningDigest.java
*/ package jcifs.internal; /** * Interface for SMB message signing and verification operations. * Provides cryptographic signing capabilities for SMB protocol messages to ensure * message integrity and authenticity using MAC (Message Authentication Code) algorithms. * * @author mbechler */ public interface SMBSigningDigest { /** * Performs MAC signing of the SMB. This is done as follows.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0)