- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for NegotiateContextResponse (0.13 sec)
-
src/main/java/jcifs/internal/smb2/nego/NegotiateContextResponse.java
* * This class represents negotiate contexts returned by the server * in response to negotiate context requests. * * @author mbechler */ public interface NegotiateContextResponse extends Decodable { /** * 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/Smb2NegotiateResponseTest.java
// Given NegotiateContextResponse[] contexts = new NegotiateContextResponse[2]; contexts[0] = new EncryptionNegotiateContext(); contexts[1] = new PreauthIntegrityNegotiateContext(); setPrivateField(response, "negotiateContexts", contexts); // When NegotiateContextResponse[] result = response.getNegotiateContexts(); // Then
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/NegotiateContextResponseTest.java
class InterfaceTest { @Test @DisplayName("Should implement NegotiateContextResponse interface correctly") void testInterfaceImplementation() { // Arrange NegotiateContextResponse preauthContext = new PreauthIntegrityNegotiateContext(); NegotiateContextResponse encContext = new EncryptionNegotiateContext(); // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
"Negotiate context offset points beyond buffer (offset: " + ncpos + ", buffer size: " + buffer.length + ")"); } final NegotiateContextResponse[] contexts = new NegotiateContextResponse[negotiateContextCount]; for (int i = 0; i < negotiateContextCount; i++) { // Validate sufficient buffer space for context header
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
} @Test @DisplayName("Should implement NegotiateContextResponse interface") void testImplementsNegotiateContextResponse() { EncryptionNegotiateContext context = new EncryptionNegotiateContext(); assertTrue(context instanceof NegotiateContextResponse); } @Test @DisplayName("Should be usable as both request and response")
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/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java
* 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 */ public static final int HASH_ALGO_SHA512 = 0x1;
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/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 */ public static final int CIPHER_AES128_CCM = 0x1;
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/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java
* 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; // Transform count and reserved fields
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) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
} @Test @DisplayName("Should implement NegotiateContextResponse interface") void testImplementsNegotiateContextResponse() { PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(); assertTrue(context instanceof NegotiateContextResponse); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0)