Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 14 of 14 for getContextType (0.08 seconds)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                    this.supportsEncryption = true;
                } else if (ncr.getContextType() == EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE) {
                    log.debug("Multiple encryption negotiate contexts");
                    return false;
                } else if (!foundPreauth && ncr.getContextType() == PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE) {
                    foundPreauth = true;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  2. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 34K bytes
    - Click Count (0)
  4. 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
    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)
Back to Top