- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getCipherId (0.49 sec)
-
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
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(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
setField(transport, "negotiated", smb300); Smb2EncryptionContext ccm = transport.createEncryptionContext(sessionKey, preauth); 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);
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/internal/smb2/Smb2EncryptionContext.java
this.decryptionKey = decryptionKey.clone(); } } /** * Get the negotiated cipher identifier * @return the negotiated cipher ID */ public int getCipherId() { return this.cipherId; } /** * Get the SMB dialect version * @return the SMB dialect version */ public DialectVersion getDialect() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0)