- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 54 for NdrException (0.06 sec)
-
src/main/java/jcifs/dcerpc/msrpc/netdfs.java
public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_referent(this.entry_path, 1); if (this.entry_path != null) { _dst = _dst.deferred; _dst.enc_ndr_string(this.entry_path); } } @Override public void decode(NdrBuffer _src) throws NdrException { _src.align(4);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 21.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; import jcifs.dcerpc.ndr.NdrLong; public class netdfsTest { private NdrBuffer mockNdrBuffer; @BeforeEach void setUp() { mockNdrBuffer = mock(NdrBuffer.class); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
public void encode(final NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_long(this.length); _dst.enc_ndr_short(this.impersonation_level); _dst.enc_ndr_small(this.context_mode); _dst.enc_ndr_small(this.effective_only); } @Override public void decode(final NdrBuffer _src) throws NdrException { _src.align(4);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 44.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_referent(netname, 1); if (netname != null) { _dst = _dst.deferred; _dst.enc_ndr_string(netname); } } @Override public void decode(NdrBuffer _src) throws NdrException { _src.align(4);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
@DisplayName("decode_header should throw NdrException for invalid RPC version") void testDecodeHeaderThrowsNdrExceptionForRpcVersion() { when(mockBuffer.dec_ndr_small()).thenReturn(4); // Incorrect RPC version assertThrows(NdrException.class, () -> message.decode_header(mockBuffer)); } @Test @DisplayName("decode_header should throw NdrException for invalid minor RPC version")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
when(mockDeferredNdrBuffer.dec_ndr_long()).thenReturn(-1, 0, 5); // Invalid _name_buffers assertThrows(NdrException.class, () -> domainInfo.decode(mockNdrBuffer)); } // Test for LsarDnsDomainInfo @Test void testLsarDnsDomainInfoEncode() throws NdrException { lsarpc.LsarDnsDomainInfo dnsDomainInfo = new lsarpc.LsarDnsDomainInfo(); dnsDomainInfo.name = new rpc.unicode_string();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
public uuid_t uuid; @Override public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_long(this.type); if (this.uuid == null) { throw new NdrException(NdrException.NO_NULL_REF); } _dst.enc_ndr_long(this.uuid.time_low); _dst.enc_ndr_short(this.uuid.time_mid);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0)