- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for getContextType (0.04 sec)
-
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(); assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, context.getContextType()); assertEquals(0x1, context.getContextType()); } } @Nested @DisplayName("Encoding Tests") class EncodingTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.3K bytes - Viewed (0)