Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 66 for RPC (0.01 seconds)

  1. src/main/java/jcifs/dcerpc/rpc.java

    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 {
    
        /**
         * Private constructor to prevent instantiation of utility class.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/dcerpc/rpc.java

    import jcifs.smb1.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.
     */
    public class rpc {
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
        private rpc() {
            // Utility class
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

        private DcerpcHandle rpcHandle;
    
        // Witness RPC interface
        private static final String WITNESS_INTERFACE_UUID = "ccd8c074-d0e5-4a40-92b4-d074faa6ba28";
        private static final int WITNESS_INTERFACE_VERSION = 1;
    
        // RPC connection parameters
        private static final int WITNESS_RPC_PORT = 135;
        private static final int WITNESS_RPC_TIMEOUT_MS = 5000;
    
        // RPC operation numbers
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SIDCacheImpl.java

                        rpc = new MsrpcGetMembersInAlias(aliasHandle, sidarray);
                        handle.sendrecv(rpc);
                        if (rpc.retval != 0) {
                            throw new SmbException(rpc.retval, false);
                        }
                        final SID[] sids = new SID[rpc.sids.num_sids];
    
                        final String origin_server = handle.getServer();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

            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")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SIDCacheImplTest.java

                    rpc.names.names[i].sid_type = (short) jcifs.SID.SID_TYPE_UNKNOWN;
                    rpc.names.names[i].name = new UnicodeString("", false);
                    rpc.names.names[i].sid_index = 0;
                }
                rpc.domains = new lsarpc.LsarRefDomainList();
                rpc.domains.count = 1;
                rpc.domains.max_count = 1;
                rpc.domains.domains = new lsarpc.LsarTrustInformation[1];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SID.java

            MsrpcGetMembersInAlias rpc = null;
    
            try {
                aliasHandle = new SamrAliasHandle(handle, domainHandle, 0x0002000c, rid);
                rpc = new MsrpcGetMembersInAlias(aliasHandle, sidarray);
                handle.sendrecv(rpc);
                if (rpc.retval != 0) {
                    throw new SmbException(rpc.retval, false);
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/SIDTest.java

         *
         * @throws SmbException if the SID string is invalid
         */
        @Test
        void testGetDomainSid() throws SmbException {
            // Create a mock RPC SID to simulate a user SID
            rpc.sid_t rpcSid = new rpc.sid_t();
            rpcSid.revision = 1;
            rpcSid.sub_authority_count = 5; // Fixed: should be 5 for domain SID with RID
            rpcSid.identifier_authority = new byte[] { 0, 0, 0, 0, 0, 5 };
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

            }
    
            @Test
            @DisplayName("All RPC packet flags should have unique values")
            void testRpcPacketFlagsUniqueness() {
                // Verify that RPC packet flags are unique and follow bit pattern
                assertEquals(1, Integer.bitCount(DcerpcConstants.RPC_C_PF_BROADCAST), "RPC_C_PF_BROADCAST should be a single bit");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/witness/WitnessClientTest.java

         */
        private static class TestWitnessClient extends WitnessClient {
    
            public TestWitnessClient(InetAddress witnessServer, CIFSContext context, WitnessRpcClient rpcClient) {
                super(witnessServer, context, rpcClient);
            }
    
            // TestWitnessClient can use the parent implementation now since we inject the mock RPC client
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
Back to Top