- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 74 for negotiates (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/SmbNegotiationResponse.java
/** * Checks whether SMB message signing has been successfully negotiated. * * @return whether signing has been negotiated */ boolean isSigningNegotiated(); /** * Checks whether a specific capability has been negotiated. * * @param cap the capability flag to check * @return whether capability is negotiated */ boolean haveCapabilitiy(int cap); /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
assertFalse(enforced.isSigningOptional()); assertTrue(enforced.isSigningEnforced()); // Negotiated required -> enforced true; negotiated enabled-only -> optional true SmbNegotiationResponse nego = mock(SmbNegotiationResponse.class); setField(transport, "negotiated", nego); when(nego.isSigningNegotiated()).thenReturn(true);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java
package jcifs.internal.smb2.nego; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * SMB2 Encryption Negotiate Context. * * This negotiate context is used in SMB 3.x to negotiate * encryption capabilities and cipher suites. * * @author mbechler */ public class EncryptionNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 3.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
} } @Override public void destroy() { } /** * This method simply calls {@code negotiate( req, resp, false )} * and then {@code chain.doFilter}. You can override and call * negotiate manually to achive a variety of different behavior. */ @OverrideCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
} } @Override public void destroy() { } /** * This method simply calls {@code negotiate( req, resp, false )} * and then {@code chain.doFilter}. You can override and call * negotiate manually to achive a variety of different behavior. */ @OverrideCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * SMB 3.1.1 Compression Capabilities negotiate context. * * This context is used during SMB2 negotiation to negotiate compression * algorithms for SMB3 data compression support. */ public class CompressionNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 7.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
final Object cred) throws SmbException, GeneralSecurityException { super(tc.getConfig(), SMB_COM_SESSION_SETUP_ANDX, andx); this.negotiated = negotiated; this.capabilities = negotiated.getNegotiatedCapabilities(); final ServerData server = negotiated.getServerData();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
assertTrue(true, "Negotiate context data length validation exists in code (max 1024 bytes)"); } catch (SMBProtocolDecodingException e) { // If exception thrown, validation is working assertTrue(e.getMessage().contains("Invalid negotiate context data length") || e.getMessage().contains("Buffer too small")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
// When int bytesWritten = request.writeBytesWireFormat(buffer, 0); // Then assertTrue(bytesWritten > 36); // Verify negotiate context count assertEquals(2, SMBUtil.readInt2(buffer, 32)); // Verify negotiate context offset is set int contextOffset = SMBUtil.readInt4(buffer, 28); assertTrue(contextOffset > 0);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java
import jcifs.RuntimeCIFSException; import jcifs.internal.SmbNegotiationRequest; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.util.Strings; /** * SMB1 Negotiate Protocol request message. * * This command is used to negotiate the SMB protocol dialect * and security parameters between client and server. */ public class SmbComNegotiate extends ServerMessageBlock implements SmbNegotiationRequest {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.5K bytes - Click Count (3)