Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for LsarClose (0.07 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java

            MsrpcLsarClose lsarClose = new MsrpcLsarClose(mockHandle);
    
            // Verify that the handle passed to the constructor is correctly set in the superclass
            assertEquals(mockHandle, lsarClose.handle, "The handle should be initialized correctly.");
    
            // Verify that the ptype is set to 0
            assertEquals(0, lsarClose.getPtype(), "The ptype should be set to 0.");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarClose.java

     */
    package jcifs.dcerpc.msrpc;
    
    import jcifs.dcerpc.rpc.policy_handle;
    import jcifs.dcerpc.msrpc.lsarpc.LsarClose;
    
    /**
     * Microsoft RPC LSA close handle request.
     * This class implements the LSARPC close handle operation.
     */
    public class MsrpcLsarClose extends LsarClose {
    
        /**
         * Creates a new request to close an LSA policy handle.
         *
         * @param handle the policy handle to close
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarClose.java

    /**
     * Microsoft RPC LSA close handle request.
     * This class implements the LSARPC close handle operation for closing
     * LSA policy handles when they are no longer needed.
     */
    public class MsrpcLsarClose extends lsarpc.LsarClose {
    
        /**
         * Creates a new request to close an LSA policy handle.
         *
         * @param policyHandle the policy handle to close
         */
        public MsrpcLsarClose(final LsaPolicyHandle policyHandle) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

        }
    
        // Test for LsarClose
        @Test
        void testLsarCloseConstructorAndGetOpnum() {
            rpc.policy_handle mockHandle = mock(rpc.policy_handle.class);
            lsarpc.LsarClose lsarClose = new lsarpc.LsarClose(mockHandle);
    
            assertEquals(mockHandle, lsarClose.handle);
            assertEquals(0x00, lsarClose.getOpnum());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/MsrpcLsarCloseTest.java

            assertNotNull(msrpcLsarClose, "MsrpcLsarClose object should not be null");
    
            // Verify that the constructor correctly sets ptype and flags
            // These values are inherited from LsarClose, but MsrpcLsarClose sets them in its constructor
            assertEquals(0, msrpcLsarClose.getPtype(), "ptype should be 0");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    		uint32_t sid_index;
    	} LsarTranslatedName;
    
    	typedef struct {
    		[range(0,1000)] uint32_t count;
    		[size_is(count)] LsarTranslatedName *names;
    	} 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)]
    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

    		uint32_t sid_index;
    	} LsarTranslatedName;
    
    	typedef struct {
    		[range(0,1000)] uint32_t count;
    		[size_is(count)] LsarTranslatedName *names;
    	} 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)]
    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/main/java/jcifs/dcerpc/msrpc/lsarpc.java

            public rpc.policy_handle handle;
    
            /**
             * Creates a new LsarClose message.
             *
             * @param handle the policy handle to close
             */
            public LsarClose(final rpc.policy_handle handle) {
                this.handle = handle;
            }
    
            @Override
            public void encode_in(final NdrBuffer _dst) throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

            public rpc.policy_handle handle;
    
            /**
             * Creates a new LsarClose message.
             *
             * @param handle the policy handle to close
             */
            public LsarClose(final rpc.policy_handle handle) {
                this.handle = handle;
            }
    
            @Override
            public void encode_in(final NdrBuffer _dst) throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
Back to top