Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for NdrObject (0.92 sec)

  1. src/main/java/jcifs/dcerpc/ndr/NdrObject.java

     * This abstract class defines the interface for encoding and decoding NDR data types.
     */
    public abstract class NdrObject {
    
        /**
         * Default constructor for NDR object
         */
        public NdrObject() {
            // Default constructor
        }
    
        /**
         * Encodes this NDR object into the specified buffer
         * @param dst the destination buffer for encoding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrObject.java

     * This abstract class defines the interface for encoding and decoding NDR data types.
     */
    public abstract class NdrObject {
    
        /**
         * Default constructor for NDR object
         */
        public NdrObject() {
            // Default constructor
        }
    
        /**
         * Encodes this NDR object into the specified buffer
         * @param dst the destination buffer for encoding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicy.java

         * @param policyHandle the policy handle obtained from LsarOpenPolicy
         * @param level the information level to query
         * @param info the NdrObject to receive the policy information
         */
        public MsrpcQueryInformationPolicy(final LsaPolicyHandle policyHandle, final short level, final NdrObject info) {
            super(policyHandle, level, info);
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for the NdrObject abstract class.
     * This test uses a concrete implementation to verify the abstract contract.
     */
    @ExtendWith(MockitoExtension.class)
    class NdrObjectTest {
    
        @Mock
        private NdrBuffer mockBuffer;
    
        private ConcreteNdrObject ndrObject;
    
        // A concrete implementation of NdrObject for testing purposes.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

    import jcifs.dcerpc.msrpc.LsaPolicyHandle;
    import jcifs.dcerpc.msrpc.MsrpcQueryInformationPolicy;
    import jcifs.dcerpc.ndr.NdrObject;
    
    @ExtendWith(MockitoExtension.class)
    class MsrpcQueryInformationPolicyTest {
    
        @Mock
        private LsaPolicyHandle mockPolicyHandle;
    
        @Mock
        private NdrObject mockNdrObject;
    
        /**
         * Test the constructor of MsrpcQueryInformationPolicy.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                assertTrue(msg instanceof samr.SamrConnect2, "Should extend SamrConnect2");
                assertTrue(msg instanceof DcerpcMessage, "Should extend DcerpcMessage");
                assertTrue(msg instanceof NdrObject, "Should extend NdrObject");
            }
    
            @Test
            @DisplayName("should inherit getOpnum method")
            void testGetOpnumMethod() {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.dcerpc.DcerpcConstants;
    import jcifs.dcerpc.ndr.NdrObject;
    
    @ExtendWith(MockitoExtension.class)
    class MsrpcQueryInformationPolicyTest {
    
        @Mock
        private LsaPolicyHandle mockPolicyHandle;
    
        @Mock
        private NdrObject mockNdrObject;
    
        private MsrpcQueryInformationPolicy queryPolicy;
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcQueryInformationPolicy.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    import jcifs.smb1.dcerpc.ndr.NdrObject;
    
    /**
     * MSRPC implementation for querying LSA policy information.
     * This class provides functionality to retrieve information about
     * LSA policy settings using the LSA RPC interface.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/ndr/NdrHyper.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.dcerpc.ndr;
    
    /**
     * NDR representation of a hyper integer (8-byte signed integer).
     */
    public class NdrHyper extends NdrObject {
    
        /**
         * The hyper integer value.
         */
        public long value;
    
        /**
         * Constructs an NdrHyper with the specified value.
         *
         * @param value the hyper integer value
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/ndr/NdrLong.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.dcerpc.ndr;
    
    /**
     * NDR representation of a long integer (4-byte signed integer).
     */
    public class NdrLong extends NdrObject {
    
        /**
         * The long integer value.
         */
        public int value;
    
        /**
         * Constructs an NdrLong with the specified value.
         *
         * @param value the long integer value
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top