- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 54 for NdrException (0.08 sec)
-
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
* Encodes a wide string pointer in NDR format. * * @param buf the NDR buffer * @param str the string to encode (can be null) * @throws NdrException if encoding fails */ private void encodeWideStringPointer(NdrBuffer buf, String str) throws NdrException { if (str == null || str.isEmpty()) { buf.enc_ndr_long(0); // NULL pointer } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcBind.java
* 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) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java
* 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. */ public class DcerpcBind extends DcerpcMessage {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
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) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
public int getOpnum() { return 0x1234; } @Override public void encode_in(NdrBuffer buf) throws NdrException { buf.enc_ndr_small(0xAB); } @Override public void decode_out(NdrBuffer buf) throws NdrException { decodedValue = buf.dec_ndr_small(); } } /* --- flag handling -------------------------------- */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
} /** * Verify that encode writes the correct little-endian sequence * to the buffer and that alignment is respected. */ @Test void encodeWritesCorrectBytesAndAlignment() throws NdrException { NdrShort ns = new NdrShort(0xABCD); // value & 0xFF => 0xCD buf.reset(); int startIndex = buf.getIndex(); ns.encode(buf);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrHyper.java
public NdrHyper(final long value) { this.value = value; } @Override public void encode(final NdrBuffer dst) throws NdrException { dst.enc_ndr_hyper(this.value); } @Override public void decode(final NdrBuffer src) throws NdrException { this.value = src.dec_ndr_hyper(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrLong.java
*/ public NdrLong(final int value) { this.value = value; } @Override public void encode(final NdrBuffer dst) throws NdrException { dst.enc_ndr_long(this.value); } @Override public void decode(final NdrBuffer src) throws NdrException { this.value = src.dec_ndr_long(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.witness; import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; /** * WitnessUnregister RPC message implementation for MS-SWN specification. * This message is used to unregister from witness notifications. */ public class WitnessUnregisterMessage extends WitnessRpcMessage {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
* @param off * @param isDirect * @return * @throws IOException * @throws DcerpcException * @throws NdrException */ private byte[] receiveMoreFragments(final DcerpcMessage msg, byte[] in) throws IOException, DcerpcException, NdrException { int off = msg.ptype == 2 ? msg.length : 24; final byte[] fragBytes = new byte[this.max_recv];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0)