- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 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/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/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/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 negotiation
Registered: 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/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 MIC
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K 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 (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) -
README.md
- **SMB 3.0**: Windows 8/Server 2012 (0x0300) - AES-128-CCM encryption - **SMB 3.0.2**: Windows 8.1/Server 2012R2 (0x0302) - Enhanced encryption - **SMB 3.1.1**: Windows 10/Server 2016+ (0x0311) - AES-128-GCM + Pre-Auth Integrity **Protocol Selection:** - Default Range: SMB1 to SMB 3.1.1 - Automatic Negotiation: Client offers all supported dialects, server selects highest common version
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
/** * Context flag for confidentiality (encryption) capability */ public static final int CONFIDENTIALITY = 0x04; /** * Context flag for integrity (signing) capability */ public static final int INTEGRITY = 0x02; private static final ASN1ObjectIdentifier SPNEGO_OID = new ASN1ObjectIdentifier(SpnegoConstants.SPNEGO_MECHANISM); private ASN1ObjectIdentifier[] mechanisms;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0)