Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 556 for bundle (0.93 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        }
    
        @Test
        @DisplayName("Should handle getNextResponse correctly")
        void testGetNextResponse() {
            // When
            CommonServerMessageBlockResponse nextResponse = response.getNextResponse();
    
            // Then - should return null as no next response is set
            assertEquals(null, nextResponse);
        }
    
        @Test
        @DisplayName("Should handle prepare method correctly")
        void testPrepareMethod() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

    package jcifs.dcerpc.msrpc;
    
    /**
     * MSRPC implementation for opening an LSA policy handle.
     * This class provides functionality to open a handle to the LSA policy
     * database on a remote server using the LSA RPC interface.
     */
    public class MsrpcLsarOpenPolicy2 extends lsarpc.LsarOpenPolicy2 {
    
        /**
         * Creates a new request to open an LSA policy handle.
         *
         * @param server the server name to connect to
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertEquals("Expected structureSize = 9", exception.getMessage());
        }
    
        @Test
        @DisplayName("Should handle empty notification list")
        void testEmptyNotificationList() throws Exception {
            // Given
            byte[] buffer = new byte[256];
            int offset = 0;
    
            setHeaderStart(response, 64);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java

    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.create.CreateContextResponse;
    
    /**
     * SMB2 Durable Handle Response Create Context
     *
     * MS-SMB2 Section 2.2.14.2.3
     */
    public class DurableHandleResponse implements CreateContextResponse {
    
        /**
         * Context name for durable handle response
         */
        public static final String CONTEXT_NAME = "DHnQ";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessUnregisterRequest.java

            this.registrationId = registrationId;
        }
    
        /**
         * Gets the context handle.
         *
         * @return the context handle
         */
        public byte[] getContextHandle() {
            return contextHandle;
        }
    
        /**
         * Sets the context handle.
         *
         * @param contextHandle the context handle
         */
        public void setContextHandle(byte[] contextHandle) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    	} LsarTransNameArray;
    
    	[op(0x00)]
    	int LsarClose([in,out] policy_handle *handle);
    
    	[op(0x07)]
    	int LsarQueryInformationPolicy([in] policy_handle *handle,
    			[in] uint16_t level,
    			[out,switch_is(level),unique] LsarPolicyInfo *info);
    
    	[op(0x0f)]
    	int LsarLookupSids([in] policy_handle *handle,
    			[in] LsarSidArray *sids,
    			[out,unique] LsarRefDomainList *domains,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (3)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl

    	} LsarTransNameArray;
    
    	[op(0x00)]
    	int LsarClose([in,out] policy_handle *handle);
    
    	[op(0x07)]
    	int LsarQueryInformationPolicy([in] policy_handle *handle,
    			[in] uint16_t level,
    			[out,switch_is(level),unique] LsarPolicyInfo *info);
    
    	[op(0x0f)]
    	int LsarLookupSids([in] policy_handle *handle,
    			[in] LsarSidArray *sids,
    			[out,unique] LsarRefDomainList *domains,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        }
    
        @Test
        @DisplayName("Should handle different cipher IDs")
        void testDifferentCipherIds() {
            // Test cipher ID 1 (AES-CCM)
            Smb2EncryptionContext context1 = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey);
            assertEquals(1, context1.getCipherId(), "Should handle cipher ID 1");
    
            // Test cipher ID 2 (AES-GCM)
    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/smb2/nego/EncryptionNegotiateContextTest.java

                assertEquals(encoded, decoded);
                assertArrayEquals(originalCiphers, decodedContext.getCiphers());
            }
    
            @Test
            @DisplayName("Should handle round-trip at non-zero offset")
            void testRoundTripWithOffset() throws SMBProtocolDecodingException {
                int offset = 100;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                assertEquals(0, defaultBind.getOpnum(), "Default opnum should be 0");
            }
    
            @Test
            @DisplayName("Package constructor should initialize with binding and handle")
            void testPackageConstructor() throws Exception {
                // Given
                int maxXmit = 4096;
                int maxRecv = 4096;
                when(mockHandle.getMaxXmit()).thenReturn(maxXmit);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top