- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 86 for dialect (0.49 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java
final ByteArrayOutputStream bos = new ByteArrayOutputStream(); for (final String dialect : this.dialects) { bos.write(0x02); try { bos.write(Strings.getASCIIBytes(dialect)); } catch (final IOException e) { throw new RuntimeCIFSException(e); } bos.write(0x0); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (3) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
assertEquals(expectedBytes.length, bytesWritten, "The number of bytes written should match the length of the dialect string."); // Verify the content of the destination array assertArrayEquals(expectedBytes, dst, "The destination array should contain the ASCII bytes of the dialect string."); } /** * Test the readParameterWordsWireFormat method. * This method should do nothing and return 0.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
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/test/java/jcifs/internal/SmbNegotiationResponseTest.java
} @Test @DisplayName("Test all dialect versions") void testAllDialectVersions() { // Test each dialect version DialectVersion[] dialects = { DialectVersion.SMB1, DialectVersion.SMB202, DialectVersion.SMB210, DialectVersion.SMB300, DialectVersion.SMB302, DialectVersion.SMB311 }; for (DialectVersion dialect : dialects) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java
* @param dialects * the SMB dialects supported by the client */ public ValidateNegotiateInfoRequest(final int capabilities, final byte[] clientGuid, final int securityMode, final int[] dialects) { this.capabilities = capabilities; this.clientGuid = clientGuid; this.securityMode = securityMode; this.dialects = dialects; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
assertEquals(4, dialects.length); // SMB210, SMB300, SMB302, SMB311 assertEquals(0x0210, dialects[0]); assertEquals(0x0300, dialects[1]); assertEquals(0x0302, dialects[2]); assertEquals(0x0311, dialects[3]); } @Test @DisplayName("Should set client GUID for SMB2.1+") void testClientGuidSmb21() { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K 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)