Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for unwrapping (0.18 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcSecurityProvider.java

         * @throws DcerpcException if the wrapping operation fails
         */
        void wrap(NdrBuffer outgoing) throws DcerpcException;
    
        /**
         * Unwraps incoming DCERPC message data after security processing
         * @param incoming the buffer containing data to be unwrapped
         * @throws DcerpcException if the unwrapping operation fails
         */
        void unwrap(NdrBuffer incoming) throws DcerpcException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbSessionTest.java

                assertSame(result1, result2, "getConfig() should return consistent values");
                verify(mockSession, times(2)).getConfig();
            }
        }
    
        @Nested
        @DisplayName("Resource Unwrapping Tests")
        class ResourceUnwrappingTest {
    
            @Test
            @DisplayName("Should provide unwrap method with correct signature")
            void shouldProvideUnwrapMethod() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcSecurityProvider.java

         * @throws DcerpcException if the wrapping operation fails
         */
        void wrap(NdrBuffer outgoing) throws DcerpcException;
    
        /**
         * Unwraps incoming DCERPC message data after security processing
         * @param incoming the buffer containing data to be unwrapped
         * @throws DcerpcException if the unwrapping operation fails
         */
        void unwrap(NdrBuffer incoming) throws DcerpcException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbTreeTest.java

            }
    
            verify(autoCloseTree).close();
        }
    
        /**
         * Test for unwrap with nested wrapping.
         * Verifies that unwrap works correctly with multiple levels of wrapping.
         */
        @Test
        void testUnwrap_nestedWrapping() {
            // Create a chain of wrapped trees
            CustomSmbTree innerTree = mock(CustomSmbTree.class);
    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/test/java/jcifs/smb/SmbTreeImplTest.java

        @Test
        void testUnwrap() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            SmbTreeImpl unwrapped = tree.unwrap(SmbTreeImpl.class);
            assertEquals(tree, unwrapped);
            // Test unwrapping to a non-assignable type should fail
            assertThrows(ClassCastException.class, () -> {
                // Create a mock class that extends SmbTree but is not assignable from SmbTreeImpl
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/ByteEncodable.java

     */
    public class ByteEncodable implements Encodable {
    
        private final byte[] bytes;
        private final int off;
        private final int len;
    
        /**
         * Constructs a ByteEncodable object wrapping a byte array segment.
         *
         * @param b the byte array to wrap
         * @param off the offset in the byte array
         * @param len the length of the segment to use
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

         *
         * @param zterm whether the string should be zero terminated
         */
        public UnicodeString(final boolean zterm) {
            this.zterm = zterm;
        }
    
        /**
         * Constructs a UnicodeString by wrapping an existing unicode_string.
         *
         * @param rus wrapped string
         * @param zterm whether the string should be zero terminated
         */
        public UnicodeString(final rpc.unicode_string rus, final boolean zterm) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

                fail("Should have caught as FessSystemException, but caught: " + e.getClass());
            }
        }
    
        public void test_rethrowWithWrapping() {
            // Test rethrowing with wrapping
            String originalMessage = "Original theme error";
            String wrapperMessage = "Failed to process theme";
    
            try {
                try {
                    throw new ThemeException(originalMessage);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/UnicodeString.java

         *            whether the string should be zero terminated
         */
        public UnicodeString(final boolean zterm) {
            this.zterm = zterm;
        }
    
        /**
         * Constructs a UnicodeString by wrapping an existing unicode_string.
         *
         * @param rus
         *            wrapped string
         * @param zterm
         *            whether the string should be zero terminated
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. README.md

    - Configurable: Min/max versions can be set via configuration properties
    
    ### SMB3 Encryption Support
    - **SMB2 Transform Header**: Encrypted message wrapping
    - **AES-CCM/GCM Support**: Both AES-128-CCM (SMB 3.0/3.0.2) and AES-128-GCM (SMB 3.1.1) cipher suites
    - **Encryption Context**: Per-session encryption state management
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top