- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for getDialect (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/DialectVersionTest.java
DialectVersion.SMB1.getDialect(); }); // SMB2+ versions should have valid dialect codes assertTrue(DialectVersion.SMB202.getDialect() > 0); assertTrue(DialectVersion.SMB210.getDialect() > 0); assertTrue(DialectVersion.SMB300.getDialect() > 0); assertTrue(DialectVersion.SMB302.getDialect() > 0); assertTrue(DialectVersion.SMB311.getDialect() > 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java
return this.securityMode; } /** * Gets the negotiated SMB dialect * * @return the SMB dialect negotiated with the server */ public int getDialect() { return this.dialect; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/DialectVersion.java
*/ public final boolean isSMB2() { return this.smb2; } /** * Get the SMB2 dialect identifier * * @return the dialect */ public final int getDialect() { if (!this.smb2) { throw new UnsupportedOperationException(); } return this.dialect; } /** * Check if this dialect version is at least the specified versionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Then assertNotNull(context, "Encryption context should be created"); assertEquals(1, context.getCipherId(), "Cipher ID should match"); assertEquals(DialectVersion.SMB311, context.getDialect(), "Dialect should match"); } @Test @DisplayName("Should return correct cipher ID") void testGetCipherId() { // When int cipherId = encryptionContext.getCipherId();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/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
assertArrayEquals(testGuid, response.getServerGuid(), "Server GUID should match"); assertEquals(testSecurityMode, response.getSecurityMode(), "Security mode should match"); assertEquals(testDialect, response.getDialect(), "Dialect should match"); } @Test @DisplayName("Test decode with different buffer offset") void testDecodeWithDifferentOffset() throws SMBProtocolDecodingException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
assertEquals(EncryptionNegotiateContext.CIPHER_AES128_CCM, ccm.getCipherId()); assertEquals(DialectVersion.SMB300, ccm.getDialect()); // SMB 3.1.1 -> default AES-128-GCM when server did not choose Smb2NegotiateResponse smb311 = new Smb2NegotiateResponse(cfg);
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) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
this.dialects = new int[dvs.size()]; int i = 0; for (final DialectVersion ver : dvs) { this.dialects[i] = ver.getDialect(); i++; } if (config.getMaximumVersion().atLeast(DialectVersion.SMB210)) { System.arraycopy(config.getMachineId(), 0, this.clientGuid, 0, this.clientGuid.length); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} try { // Derive encryption and decryption keys using SMB3 KDF final int dialectInt = dialect.getDialect(); final byte[] encryptionKey = Smb3KeyDerivation.deriveEncryptionKey(dialectInt, sessionKey, preauthHash);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)