Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for setMic (0.4 sec)

  1. src/main/java/jcifs/ntlmssp/Type3Message.java

         * @return A <code>byte[]</code> containing the message integrity code.
         */
        public byte[] getMic() {
            return this.mic;
        }
    
        /**
         * Sets the message integrity code (MIC) for this Type-3 message.
         *
         * @param mic
         *            NTLM mic to set (16 bytes)
         */
        public void setMic(final byte[] mic) {
            this.mic = mic;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                testBlock.setFlags2(0x3456);
                testBlock.setSignSeq(42);
                testBlock.setTid(0x1234);
                testBlock.setPid(0x5678);
                testBlock.setUid(0x9ABC);
                testBlock.setMid(0xDEF0);
                testBlock.received();
    
                String result = testBlock.toString();
    
                assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            }
        }
    
        @Test
        @DisplayName("Test setUid method")
        void testSetUid() {
            // Given
            int uid = 1000;
            doNothing().when(messageBlock).setUid(uid);
    
            // When
            messageBlock.setUid(uid);
    
            // Then
            verify(messageBlock).setUid(uid);
        }
    
        @Test
        @DisplayName("Test setUid with boundary values")
        void testSetUidWithBoundaryValues() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/RequestTest.java

            @Override
            public void setMid(long mid) {
                this.mid = mid;
            }
    
            @Override
            public int getCommand() {
                return command;
            }
    
            @Override
            public void setCommand(int command) {
                this.command = command;
            }
    
            @Override
            public void setUid(int uid) {
                // No-op for test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                this.andx.setErrorCode(getErrorCode());
                this.andx.setFlags(getFlags());
                this.andx.setFlags2(getFlags2());
                this.andx.setTid(getTid());
                this.andx.setPid(getPid());
                this.andx.setUid(getUid());
                this.andx.setMid(getMid());
                this.andx.setUseUnicode(this.isUseUnicode());
    
                if (this.andx instanceof AndXServerMessageBlock) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            response.setCommand(command);
            assertEquals(command, response.getCommand());
    
            // Test other setter methods
            doNothing().when(response).setUid(1000);
            response.setUid(1000);
            verify(response).setUid(1000);
    
            doNothing().when(response).setExtendedSecurity(true);
            response.setExtendedSecurity(true);
            verify(response).setExtendedSecurity(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                testRequest.setRequestCredits(credits);
                assertEquals(credits, testRequest.getCredit());
            }
    
            @Test
            @DisplayName("setTid should set tree ID")
            void testSetTid() {
                int tid = 12345;
                testRequest.setTid(tid);
                assertEquals(tid, testRequest.getTreeId());
            }
        }
    
        @Nested
        @DisplayName("Async Operation Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/RequestWithPathTest.java

                return 0;
            }
    
            @Override
            public void setMid(long mid) {
            }
    
            @Override
            public int getCommand() {
                return 0;
            }
    
            @Override
            public void setCommand(int command) {
            }
    
            @Override
            public void setUid(int uid) {
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testCopy_BeanToBean() throws Exception {
            final MyClass src = new MyClass();
            src.setAaa("111");
            src.setCcc("333");
    
            final MyClass2 dest = new MyClass2();
            dest.setAaa("aaa");
            dest.setBbb("bbb");
            dest.setDdd("ddd");
    
            BeanUtil.copyBeanToBean(src, dest);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                testMessage.setMid(12345L);
                other.setMid(12345L);
    
                assertTrue(testMessage.equals(other));
            }
    
            @Test
            @DisplayName("Should not be equal when MIDs differ")
            void testNotEqualsDifferentMid() {
                TestServerMessageBlock2 other = new TestServerMessageBlock2(mockConfig);
                testMessage.setMid(12345L);
                other.setMid(67890L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top