Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 653 for HANDLE (0.12 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

    package jcifs.smb1.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)
  2. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertNotNull(signingKey, "Should handle empty session key");
            assertEquals(16, signingKey.length, "Should still produce 16-byte key");
        }
    
        @Test
        @DisplayName("Should handle null preauth integrity for SMB 3.0.0")
        void testDeriveKeys_NullPreauthForSMB300() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

        setDefault(Dispatcher.class, Dispatcher.immediate());
      }
    
      private static class DummySubscriber {
    
        private final EventBus eventBus = new EventBus();
    
        @Subscribe
        public void handle(@Nullable Object unused) {}
    
        Subscriber toSubscriber() throws Exception {
          return Subscriber.create(eventBus, this, subscriberMethod());
        }
    
        SubscriberExceptionContext toContext() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/rpc.java

                for (int _i = 0; _i < _nodes; _i++) {
                    node[_i] = (byte) _src.dec_ndr_small();
                }
            }
        }
    
        /**
         * Policy handle structure for DCE/RPC operations.
         * Represents a handle to a policy object on the server.
         */
        public static class policy_handle extends NdrObject {
    
            /**
             * Default constructor for policy_handle.
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java

    import jcifs.internal.smb2.create.CreateContextRequest;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Durable Handle Request Create Context (DHnQ)
     *
     * MS-SMB2 Section 2.2.13.2.3
     */
    public class DurableHandleRequest implements CreateContextRequest {
    
        /**
         * Context name for durable handle request
         */
        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
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/samr.idl

    	[op(0x01)]
    	int SamrCloseHandle([in] policy_handle *handle);
    
    	[op(0x39)]
    	int SamrConnect2([in,string,unique] wchar_t *system_name,
    			[in] uint32_t access_mask,
    			[out] policy_handle *handle);
    
    	[op(0x3e)]
    	int SamrConnect4([in,string,unique] wchar_t *system_name,
    			[in] uint32_t unknown,
    			[in] uint32_t access_mask,
    			[out] policy_handle *handle);
    
    	[op(0x07)]
    	int SamrOpenDomain([in] policy_handle *handle,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        }
    
        @Test
        @DisplayName("readLength should handle maximum length")
        void testReadLengthMaximum() {
            byte[] src = { (byte) 0x00, (byte) 0x01, (byte) 0xFF, (byte) 0xFF };
            int length = SessionServicePacket.readLength(src, 0);
    
            assertEquals(0x01FFFF, length);
        }
    
        @Test
        @DisplayName("readLength should handle zero length")
        void testReadLengthZero() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbSessionTest.java

            @Test
            @DisplayName("Should handle self unwrap")
            void shouldHandleSelfUnwrap() {
                SmbSession mockSession = mock(SmbSession.class);
                when(mockSession.unwrap(SmbSession.class)).thenReturn(mockSession);
    
                SmbSession result = mockSession.unwrap(SmbSession.class);
                assertSame(mockSession, result, "unwrap should handle self unwrapping");
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

        protected DcerpcSecurityProvider securityProvider = null;
        private static int call_id = 1;
    
        /**
         * Gets a DCERPC handle for the specified URL and authentication
         * @param url the DCERPC URL to connect to
         * @param auth the NTLM authentication credentials
         * @return a DCERPC handle for the connection
         * @throws UnknownHostException if the host cannot be resolved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top