- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 77 for negotiation (0.19 seconds)
-
src/main/java/jcifs/smb/NtlmContext.java
private static final Logger log = LoggerFactory.getLogger(NtlmContext.class); /** * The NTLMSSP OID (1.3.6.1.4.1.311.2.2.10) used in SPNEGO negotiation. */ public static ASN1ObjectIdentifier NTLMSSP_OID; static { try { NTLMSSP_OID = new ASN1ObjectIdentifier("1.3.6.1.4.1.311.2.2.10");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
src/test/java/jcifs/config/SecurityConfigurationTest.java
// Verify IPC signing is enforced (this is a security requirement) assertTrue("IPC signing should be enforced for security", config.isIpcSigningEnforced()); } /** * Test secure negotiation requirement for SMB3 */ @Test public void testSecureNegotiateRequired() throws CIFSException { BaseConfiguration config = new BaseConfiguration(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/spnego/SpnegoToken.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.spnego; import java.io.IOException; /** * Abstract base class for SPNEGO authentication tokens used in GSS-API negotiation */ public abstract class SpnegoToken { /** * Protected constructor for SPNEGO token implementations. */ protected SpnegoToken() { } private byte[] mechanismToken;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (2) -
src/main/java/jcifs/config/BaseConfiguration.java
/** Whether to use NT status codes instead of DOS error codes */ protected boolean useNtStatus = true; /** Whether to use extended security negotiation */ protected boolean useExtendedSecurity = true; /** Force use of extended security negotiation */ protected boolean forceExtendedSecurity = false; /** Whether to negotiate only SMB2 or higher protocols */ protected boolean smb2OnlyNegotiation = false;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 36.5K 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
assertTrue(context.isEstablished()); assertArrayEquals(serverChallenge, context.getServerChallenge()); // Signing key may or may not be generated depending on flags negotiation // The context negotiates flags with server, so we can't guarantee signing key } @Test void testInitSecContext_state2_withoutSigning() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} final SmbNegotiationResponse r = this.negotiated; if (r == null) { throw new SmbException("Connection did not complete, failed to get negotiation response"); } return r; } /** * @return whether this is SMB2 transport * @throws SmbException */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt
* * ## Modern TLS * * There are trade-offs when selecting which options to include when negotiating a secure connection * to a remote host. Newer TLS options are quite useful: * * * Server Name Indication (SNI) enables one IP address to negotiate secure connections for * multiple domain names. * * * Application Layer Protocol Negotiation (ALPN) enables the HTTPS port (443) to be used to * negotiate HTTP/2. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
*/ @Test @DisplayName("Pre-auth integrity hash should be thread-safe") void testPreauthHashThreadSafety() throws Exception { // Setup SMB3.1.1 negotiation when(negotiateResponse.getSelectedDialect()).thenReturn(DialectVersion.SMB311); when(negotiateResponse.getSelectedPreauthHash()).thenReturn(1); // SHA-512 setPrivateField(transport, "smb2", true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
@Mock private Response response; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test isValid returns true for valid negotiation") void testIsValidReturnsTrue() { // Arrange when(negotiationResponse.isValid(cifsContext, negotiationRequest)).thenReturn(true); // ActCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.6K bytes - Click Count (0)