- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for DialectVersion (0.08 sec)
-
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
import org.bouncycastle.crypto.params.AEADParameters; import org.bouncycastle.crypto.params.KeyParameter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSException; import jcifs.DialectVersion; import jcifs.internal.smb2.nego.EncryptionNegotiateContext; import jcifs.util.SecureKeyManager; /** * SMB2/SMB3 Encryption Context * * Manages encryption and decryption operations for SMB2/SMB3 sessions.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (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());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
*/ protected void initProtocolVersions(final String minStr, final String maxStr) { final DialectVersion min = minStr != null && !minStr.isEmpty() ? DialectVersion.valueOf(minStr) : null; final DialectVersion max = maxStr != null && !maxStr.isEmpty() ? DialectVersion.valueOf(maxStr) : null; initProtocolVersions(min, max); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
log.debug("Server returned ANY dialect"); return false; } final Smb2NegotiateRequest r = (Smb2NegotiateRequest) req; DialectVersion selected = null; for (final DialectVersion dv : DialectVersion.values()) { if (!dv.isSMB2()) { continue; } if (dv.getDialect() == getDialectRevision()) { selected = dv;
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/config/PropertyConfigurationTest.java
// When PropertyConfiguration testConfig = new PropertyConfiguration(props); // Then assertEquals(DialectVersion.SMB1, testConfig.getMinimumVersion()); assertEquals(DialectVersion.SMB311, testConfig.getMaximumVersion()); } @Test @DisplayName("Should provide default values for missing properties")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (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() */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
jcifs.DialectVersion dialect = transport.getNegotiateResponse().getSelectedDialect(); return transport.isSMB2() && dialect.atLeast(jcifs.DialectVersion.SMB300) && !dialect.atLeast(jcifs.DialectVersion.SMB311); } catch (final SmbException e) { log.debug("Failed to connect for determining SMB 3.0 support", e);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
// Given DialectVersion minVersion = DialectVersion.SMB1; DialectVersion maxVersion = DialectVersion.SMB311; when(mockDelegate.getMinimumVersion()).thenReturn(minVersion); when(mockDelegate.getMaximumVersion()).thenReturn(maxVersion); // When DialectVersion resultMin = delegatingConfig.getMinimumVersion(); DialectVersion resultMax = delegatingConfig.getMaximumVersion();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
when(mockConfig.getPid()).thenReturn(1234); when(mockConfig.getMaximumBufferSize()).thenReturn(65535); when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB1); when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311); response = new TestSmbComNtTransactionResponse(mockConfig); } @Test @DisplayName("Test constructor with Configuration")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0)