Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 56 for NdrBuffer (0.23 sec)

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

            @Override
            public void encode(final NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(length);
                _dst.enc_ndr_short(impersonation_level);
                _dst.enc_ndr_small(context_mode);
                _dst.enc_ndr_small(effective_only);
    
            }
    
            @Override
            public void decode(final NdrBuffer _src) throws NdrException {
                _src.align(4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/samr.java

                this.handle = handle;
            }
    
            @Override
            public void encode_in(final NdrBuffer _dst) throws NdrException {
                this.handle.encode(_dst);
            }
    
            @Override
            public void decode_out(final NdrBuffer _src) throws NdrException {
                this.retval = _src.dec_ndr_long();
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

                this.handle = handle;
            }
    
            @Override
            public void encode_in(final NdrBuffer _dst) throws NdrException {
                handle.encode(_dst);
            }
    
            @Override
            public void decode_out(final NdrBuffer _src) throws NdrException {
                retval = _src.dec_ndr_long();
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.dcerpc.rpc;
    import jcifs.dcerpc.ndr.NdrBuffer;
    import jcifs.dcerpc.ndr.NdrException;
    import jcifs.dcerpc.ndr.NdrSmall;
    
    class lsarpcTest {
    
        @Mock
        private NdrBuffer mockNdrBuffer;
        @Mock
        private NdrBuffer mockDeferredNdrBuffer;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
    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/dcerpc/ndr/NdrObjectTest.java

    class NdrObjectTest {
    
        @Mock
        private NdrBuffer mockBuffer;
    
        private ConcreteNdrObject ndrObject;
    
        // A concrete implementation of NdrObject for testing purposes.
        private static class ConcreteNdrObject extends NdrObject {
            private boolean throwOnEncode = false;
            private boolean throwOnDecode = false;
    
            @Override
            public void encode(NdrBuffer dst) throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java

         */
        public NdrSmall(final int value) {
            this.value = value & 0xFF;
        }
    
        @Override
        public void encode(final NdrBuffer dst) throws NdrException {
            dst.enc_ndr_small(value);
        }
    
        @Override
        public void decode(final NdrBuffer src) throws NdrException {
            value = src.dec_ndr_small();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

         * @throws NdrException if encoding fails
         */
        public abstract void encode_in(NdrBuffer buf) throws NdrException;
    
        /**
         * Decode the output parameters from this DCERPC message.
         * @param buf the buffer to decode from
         * @throws NdrException if decoding fails
         */
        public abstract void decode_out(NdrBuffer buf) throws NdrException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/rpc.java

    package jcifs.dcerpc;
    
    import jcifs.dcerpc.ndr.NdrBuffer;
    import jcifs.dcerpc.ndr.NdrException;
    import jcifs.dcerpc.ndr.NdrObject;
    
    /**
     * RPC data structure definitions for DCE/RPC protocol support.
     * This class contains NDR (Network Data Representation) encodable/decodable structures
     * used in DCE/RPC communications including UUID, policy handles, unicode strings, and SIDs.
     */
    @SuppressWarnings("all")
    public class rpc {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcBind.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.dcerpc;
    
    import jcifs.dcerpc.ndr.NdrBuffer;
    import jcifs.dcerpc.ndr.NdrException;
    
    /**
     * DCE/RPC bind request message implementation.
     * This class handles the binding process for establishing DCE/RPC communication channels.
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.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;
    
    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    import jcifs.smb1.dcerpc.ndr.NdrException;
    
    /**
     * DCERPC Bind message for establishing a connection context.
     * This class handles the binding of DCERPC interfaces for RPC communication.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top