- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 29 for DialectVersion (0.14 seconds)
-
src/main/java/jcifs/internal/SmbNegotiationResponse.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal; import jcifs.CIFSContext; import jcifs.DialectVersion; import jcifs.util.transport.Response; /** * Interface for SMB protocol negotiation response handling. * Represents the server's response to a protocol negotiation request, containing negotiated
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
private static Stream<Arguments> provideDialectVersions() { return Stream.of(Arguments.of(0x0202, DialectVersion.SMB202, true), Arguments.of(0x0210, DialectVersion.SMB210, true), Arguments.of(0x0300, DialectVersion.SMB300, true), Arguments.of(0x0302, DialectVersion.SMB302, true), Arguments.of(0x0311, DialectVersion.SMB311, true), Arguments.of(0xFFFF, null, false), // SMB2_DIALECT_ANY
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
* * @see DialectVersion * @return minimum protocol version to use/allow * @since 2.1 */ DialectVersion getMinimumVersion(); /** * Maximum protocol version * * Property {@code jcifs.smb.client.maxVersion} (string, default SMB210) * * @see DialectVersion * @return maximum protocol version to use/allow * @since 2.1Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
} /** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationResponse#getSelectedDialect() */ @Override public DialectVersion getSelectedDialect() { return DialectVersion.SMB1; } /** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationResponse#getTransactionBufferSize() */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
encryptionContext = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey); } @Test @DisplayName("Should create encryption context with valid parameters") void testConstructor() { // When Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
src/main/java/jcifs/config/DelegatingConfiguration.java
* * @see jcifs.Configuration#getMinimumVersion() */ @Override public DialectVersion getMinimumVersion() { return this.delegate.getMinimumVersion(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getMaximumVersion() */ @Override public DialectVersion getMaximumVersion() { return this.delegate.getMaximumVersion(); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} final Smb2NegotiateResponse resp = (Smb2NegotiateResponse) this.negotiated; final DialectVersion dialect = resp.getSelectedDialect(); int cipherId = -1; if (dialect.atLeast(DialectVersion.SMB311)) { cipherId = resp.getSelectedCipher(); if (cipherId == -1) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
import org.mockito.junit.jupiter.MockitoSettings; import org.mockito.quality.Strictness; import jcifs.Address; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.DialectVersion; import jcifs.internal.smb2.nego.Smb2NegotiateResponse; /** * Test Pre-Authentication Integrity improvements */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT)
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/config/SecurityConfigurationTest.java
assertTrue("SMB1 should be disabled", config.getMinimumVersion().atLeast(DialectVersion.SMB202)); // Minimum version should be SMB2 or higher assertTrue("Minimum version should be SMB2 or higher", config.getMinimumVersion().atLeast(DialectVersion.SMB202)); } /** * Test that encryption is properly configured */ @Test
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/test/java/jcifs/smb/SmbTransportImplTest.java
setField(smb300, "selectedDialect", DialectVersion.SMB300); setField(transport, "negotiated", smb300); Smb2EncryptionContext ccm = transport.createEncryptionContext(sessionKey, preauth); assertEquals(EncryptionNegotiateContext.CIPHER_AES128_CCM, ccm.getCipherId()); assertEquals(DialectVersion.SMB300, ccm.getDialect());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0)