- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for getContextType (0.05 sec)
-
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
} @Test @DisplayName("Test compression context type") public void testContextType() { assertEquals(CompressionNegotiateContext.NEGO_CTX_COMPRESSION_TYPE, context.getContextType()); } @Test @DisplayName("Test supported algorithms") public void testSupportedAlgorithms() { int[] algorithms = context.getCompressionAlgorithms(); assertNotNull(algorithms);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, contexts[0].getContextType()); // Verify encryption context assertTrue(contexts[1] instanceof EncryptionNegotiateContext); assertEquals(EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE, contexts[1].getContextType()); // Verify salt was generated assertArrayEquals(testSalt, request.getPreauthSalt());
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/smb2/nego/CompressionNegotiateContext.java
* Default constructor for response parsing. */ public CompressionNegotiateContext() { this.compressionAlgorithms = new int[0]; this.flags = 0; } @Override public int getContextType() { return NEGO_CTX_COMPRESSION_TYPE; } /** * Gets the supported compression algorithms. * * @return the supported compression algorithms */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
SMBUtil.writeInt4(dstIndex - getHeaderStart(), dst, negotitateContextOffsetOffset); for (final NegotiateContextRequest nc : this.negotiateContexts) { SMBUtil.writeInt2(nc.getContextType(), dst, dstIndex); final int lenOffset = dstIndex + 2; dstIndex += 4; SMBUtil.writeInt4(0, dst, dstIndex); dstIndex += 4; // Reserved
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.3K bytes - Viewed (0)