Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 91 for 0x0302 (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            assertEquals(0x00, dst[dstIndex + 2]);
            assertEquals(0x00, dst[dstIndex + 3]);
    
            // Verify security information (4 bytes)
            assertEquals(securityInfo, SMBUtil.readInt4(dst, dstIndex + 4));
        }
    
        @ParameterizedTest
        @DisplayName("Test writeParametersWireFormat with various FID values")
        @ValueSource(ints = { 0x0000, 0x0001, 0x7FFF, 0xFFFF, 0x1234, 0xABCD })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

         */
        public static final int DFS_STORAGE_STATE_OFFLINE = 0x0001;
        /**
         * DFS storage state indicating online status
         */
        public static final int DFS_STORAGE_STATE_ONLINE = 0x0002;
        /**
         * DFS storage state indicating active status
         */
        public static final int DFS_STORAGE_STATE_ACTIVE = 0x0004;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                    // For domain: Type 0x0002 (NetBIOS Domain Name)
                    // For server: Type 0x0001 (NetBIOS Computer Name)
    
                    // Verify domain part
                    assertEquals(2, Type2Message.readUShort(targetInfo, 0)); // Type 0x0002
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            byte[] encryptionKey = "12345678".getBytes();
            ByteBuffer buffer = ByteBuffer.allocate(response.byteCount);
            buffer.put(encryptionKey);
            buffer.put(domainNameBytes);
            buffer.putShort((short) 0x0000); // Null terminator
    
            byte[] byteData = buffer.array();
    
            // Call the method
            int bytesRead = response.readBytesWireFormat(byteData, 0);
    
            // Assertions
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

         */
        public static final int CIPHER_AES_256_CCM = 0x0003;
        /**
         * AES-256-GCM cipher identifier for SMB3.1.1 encryption (future support)
         */
        public static final int CIPHER_AES_256_GCM = 0x0004;
    
        /**
         * Transform header flag indicating the message is encrypted
         */
        public static final int TRANSFORM_FLAG_ENCRYPTED = 0x0001;
    
        /**
         * Create encryption context
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                assertEquals("Unknown dialect", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0x0000, 0x0100, 0x0201, 0x0303, 0x0400, 0xFFFF })
            @DisplayName("Should throw exception for invalid dialects")
            void testConstructorInvalidDialects(int dialect) {
                IllegalArgumentException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                // When
                DcerpcException result = bind.getResult();
    
                // Then
                assertNotNull(result, "Should return exception for unknown error result");
                assertEquals("0x0005", result.getMessage(), "Should return hex representation for unknown error code");
            }
    
            @Test
            @DisplayName("getResult should handle large error codes")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            byte[] buffer = new byte[512];
            request.setNotifyFlags(0x0001);
            request.setCompletionFilter(0x000000FF);
    
            // When
            int written = request.writeBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(32, written);
            assertEquals(32, SMBUtil.readInt2(buffer, offset));
            assertEquals(0x0001, SMBUtil.readInt2(buffer, offset + 2));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            int bodyStart = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
            // Error response structure: size(2)=9, errorContextCount(1), reserved(1), bc(4), errorData(bc)
            SMBUtil.writeInt2(9, buf, bodyStart);
            buf[bodyStart + 2] = 0x02; // errorContextCount
            buf[bodyStart + 3] = 0x00; // reserved
            int bc = 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

            return transformCount > 0 && rdmaTransformId == 0x0001;
        }
    
        /**
         * Get the transform count
         *
         * @return number of transforms
         */
        public int getTransformCount() {
            return transformCount;
        }
    
        /**
         * Get the RDMA transform ID
         *
         * @return transform ID (should be 0x0001 for V1)
         */
        public int getRdmaTransformId() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top