- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for NegotiateContextRequest (0.17 sec)
-
src/main/java/jcifs/internal/smb2/nego/NegotiateContextRequest.java
* * This class represents negotiate contexts used in SMB 3.1.1 * for capability negotiation and security enhancements. * * @author mbechler */ public interface NegotiateContextRequest extends Encodable { /** * Gets the negotiate context type. * * @return the SMB2 negotiate context type */ int getContextType();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
assertTrue(preauth instanceof NegotiateContextRequest); assertTrue(encryption instanceof NegotiateContextRequest); } @Test @DisplayName("Should verify mock implementation") void testMockImplementation() { NegotiateContextRequest mockRequest = mock(NegotiateContextRequest.class); when(mockRequest.getContextType()).thenReturn(0xFF);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java
* This negotiate context is used in SMB 3.1.1 to establish * pre-authentication integrity protection against downgrade attacks. * * @author mbechler */ public class PreauthIntegrityNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse { /** * Context type */ public static final int NEGO_CTX_PREAUTH_TYPE = 0x1; /** * SHA-512 */
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/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
private final int[] dialects; private int capabilities; private final byte[] clientGuid = new byte[16]; private final int securityMode; private final NegotiateContextRequest[] negotiateContexts; private byte[] preauthSalt; /** * Constructs an SMB2 negotiate request with the specified configuration and security mode. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java
* * This negotiate context is used in SMB 3.x to negotiate * encryption capabilities and cipher suites. * * @author mbechler */ public class EncryptionNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse { /** * Context type */ public static final int NEGO_CTX_ENC_TYPE = 0x2; /** * AES 128 CCM */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
when(mockRequest.getCapabilities()).thenReturn(Smb2Constants.SMB2_GLOBAL_CAP_DFS); when(mockRequest.getNegotiateContexts()) .thenReturn(new NegotiateContextRequest[] { createMockPreauthContext(), createMockEncryptionContext() }); // Setup negotiate contexts NegotiateContextResponse[] contexts =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
class InterfaceImplementationTests { @Test @DisplayName("Should implement NegotiateContextRequest interface") void testImplementsNegotiateContextRequest() { EncryptionNegotiateContext context = new EncryptionNegotiateContext(); assertTrue(context instanceof NegotiateContextRequest); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
when(mockConfig.isEncryptionEnabled()).thenReturn(true); // When request = new Smb2NegotiateRequest(mockConfig, 0); // Then NegotiateContextRequest[] contexts = request.getNegotiateContexts(); assertNotNull(contexts); assertEquals(2, contexts.length); // Verify preauth context
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java
* * This context is used during SMB2 negotiation to indicate RDMA transform * capabilities when SMB Direct is supported by the client and server. */ public class Smb2RdmaTransformCapabilitiesContext implements NegotiateContextRequest, NegotiateContextResponse { // Context type /** Context ID for RDMA transform capabilities */ public static final int CONTEXT_ID = Smb2Constants.SMB2_RDMA_TRANSFORM_CAPABILITIES;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
* * This context is used during SMB2 negotiation to negotiate compression * algorithms for SMB3 data compression support. */ public class CompressionNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse { private static final Logger log = LoggerFactory.getLogger(CompressionNegotiateContext.class); // Context type /** Context ID for compression capabilities */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0)