Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 89 for 0x0004 (0.06 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            assertEquals(0, bytesRead);
            assertEquals(0, response.getAttributes());
            assertEquals(0, response.getSize());
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0x0001, 0x0002, 0x0004, 0x0010, 0x0020, 0x0080, 0x0100 })
        void testDifferentFileAttributes(int fileAttribute) {
            // Test various file attribute values
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

         */
        public static final int DFS_VOLUME_FLAVOR_STANDALONE = 0x100;
        /**
         * DFS volume flavor indicating Active Directory blob storage
         */
        public static final int DFS_VOLUME_FLAVOR_AD_BLOB = 0x200;
        /**
         * DFS storage state indicating offline status
         */
        public static final int DFS_STORAGE_STATE_OFFLINE = 0x0001;
        /**
         * DFS storage state indicating online status
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            int bytesWritten = request.writeBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(4, bytesWritten);
    
            // Expected wire format: [0x04, 0x00, 0x00, 0x00]
            byte[] expected = new byte[] { 0x04, 0x00, 0x00, 0x00 };
            assertArrayEquals(expected, buffer);
        }
    
        @Test
        @DisplayName("Should always return 0 for readBytesWireFormat")
        void testReadBytesWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        /** SMB2 create/open file command */
        protected static final short SMB2_CREATE = 0x0005;
        /** SMB2 close file command */
        protected static final short SMB2_CLOSE = 0x0006;
        /** SMB2 flush file command */
        protected static final short SMB2_FLUSH = 0x0007;
        /** SMB2 read file command */
        protected static final short SMB2_READ = 0x0008;
        /** SMB2 write file command */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

         */
        public static final int DFS_VOLUME_FLAVOR_STANDALONE = 0x100;
        /**
         * DFS volume flavor indicating Active Directory blob storage
         */
        public static final int DFS_VOLUME_FLAVOR_AD_BLOB = 0x200;
        /**
         * DFS storage state indicating offline status
         */
        public static final int DFS_STORAGE_STATE_OFFLINE = 0x0001;
        /**
         * DFS storage state indicating online status
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt

        @JvmField val TLS_RSA_WITH_NULL_MD5 = init("SSL_RSA_WITH_NULL_MD5", 0x0001)
    
        @JvmField val TLS_RSA_WITH_NULL_SHA = init("SSL_RSA_WITH_NULL_SHA", 0x0002)
    
        @JvmField val TLS_RSA_EXPORT_WITH_RC4_40_MD5 = init("SSL_RSA_EXPORT_WITH_RC4_40_MD5", 0x0003)
    
        @JvmField val TLS_RSA_WITH_RC4_128_MD5 = init("SSL_RSA_WITH_RC4_128_MD5", 0x0004)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 39.9K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        @DisplayName("Should support AES-256 cipher constants")
        void testAES256CipherConstants() {
            // Verify AES-256 constants are defined
            assertEquals(0x0003, Smb2EncryptionContext.CIPHER_AES_256_CCM, "AES-256-CCM constant should be defined");
            assertEquals(0x0004, Smb2EncryptionContext.CIPHER_AES_256_GCM, "AES-256-GCM constant should be defined");
    
            // Test creating context with AES-256 cipher IDs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        void testSubCommandConstants() {
            assertEquals((short) 0x0001, SmbComTransaction.TRANS2_FIND_FIRST2);
            assertEquals((short) 0x0002, SmbComTransaction.TRANS2_FIND_NEXT2);
            assertEquals((short) 0x0003, SmbComTransaction.TRANS2_QUERY_FS_INFORMATION);
            assertEquals((short) 0x0005, SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION);
            assertEquals((short) 0x0007, SmbComTransaction.TRANS2_QUERY_FILE_INFORMATION);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        void testConstructorWithFileIdAndFileName() throws Exception {
            // Verify command is set correctly (SMB2_CLOSE = 0x0006)
            Field commandField = ServerMessageBlock2.class.getDeclaredField("command");
            commandField.setAccessible(true);
            int command = (int) commandField.get(request);
            assertEquals(0x0006, command); // SMB2_CLOSE value
    
            // Verify file ID is set
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top