- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 34 for dialects (0.05 sec)
-
src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java
dialect == Smb2Constants.SMB2_DIALECT_0311 ? preauthIntegrity : SIGNCONTEXT_300); } /** * Derives the SMB3 application key from the session key using the appropriate KDF for the dialect. * * @param dialect the SMB dialect version * @param sessionKey the base session keyRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/SmbNegotiationResponse.java
* @return whether the protocol negotiation was successful */ boolean isValid(CIFSContext cifsContext, SmbNegotiationRequest request); /** * Gets the SMB dialect version selected by the server. * * @return selected dialect */ DialectVersion getSelectedDialect(); /** * Checks whether the server has SMB message signing enabled. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
} @Test @DisplayName("Should return dialect revision") void testGetDialectRevision() throws Exception { // Given setPrivateField(response, "dialectRevision", 0x0311); // When int dialect = response.getDialectRevision(); // Then assertEquals(0x0311, dialect); } @Test @DisplayName("Should return server GUID")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
} @Test @DisplayName("Should return correct dialect version") void testGetDialect() { // When DialectVersion dialect = encryptionContext.getDialect(); // Then assertEquals(DialectVersion.SMB311, dialect, "Should return the dialect set in constructor"); } @Test @DisplayName("Should handle SMB 3.0 dialect") void testSMB300Dialect() { // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
* Test validation of excessive negotiate context count. */ @Test public void testExcessiveNegotiateContextCount() { byte[] buffer = createBasicNegotiateResponseBuffer(); // Set SMB 3.1.1 dialect SMBUtil.writeInt2(0x0311, buffer, 4); // Set excessive negotiate context count (should be limited to 100) SMBUtil.writeInt2(1000, buffer, 6); // Set negotiate context offset to valid valueRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
// Then assertTrue(testConfig.isUseUnicode()); assertFalse(testConfig.isDisablePlainTextPasswords()); } @Test @DisplayName("Should handle dialect version properties") void testDialectVersionProperties() throws CIFSException { // Given Properties props = new Properties(); props.setProperty("jcifs.smb.client.minVersion", "SMB1");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
try (SmbSessionImpl session = this.treeConnection.getSession(); SmbTransportImpl transport = session.getTransport()) { jcifs.DialectVersion dialect = transport.getNegotiateResponse().getSelectedDialect(); return transport.isSMB2() && dialect.atLeast(jcifs.DialectVersion.SMB300) && !dialect.atLeast(jcifs.DialectVersion.SMB311); } catch (final SmbException e) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
} if (selected == null) { log.debug("Server returned an unknown dialect"); return false; } if (!selected.atLeast(getConfig().getMinimumVersion()) || !selected.atMost(getConfig().getMaximumVersion())) { log.debug("Server selected an disallowed dialect version {} (min: {} max: {})", selected, getConfig().getMinimumVersion(),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (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) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
@Override public boolean canReuse(final CIFSContext tc, final boolean forceSigning) { return this.getConfig().equals(tc.getConfig()); } /** * Returns the index of the selected SMB dialect from the negotiation. * * @return the dialectIndex */ public int getDialectIndex() { return this.dialectIndex; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0)