Results 1 to 3 of 3

Thread: How to get access to marshaled/demarshaled data

  1. #1
    andreynech is offline Registered User
    Name: Andrey Nechypurenko
    Organization: GE Healthcare
    Project: hobby remotely controled vehicle
    Join Date
    Feb 2003
    Location
    Munich, Germany
    Posts
    59

    How to get access to marshaled/demarshaled data

    Hi,

    I've got a question which could be very shortly formulated like "looking for something like CORBA interceptors". I would be very thankful if somebody could share experience with Ice in this area or provide any other suggestions. The following is brief summary of the context and actual problem I have.

    We are working on the application (using Ice) which will be running on a kind of embedded system. There is a requirement to perform some encryption of the data transmitted over the network. For some reasons SSL (and corresponding Ice support for SSL) could not be used. The hardware platform has slow CPU which could not be used for calculation-intensive encryption algorithms. Instead, there is a special hardware encryption unit which can receive binary data block, perform encryption and return encrypted binary block back.

    Now I am trying to figure out how can we integrate this hardware-based encryption with Ice. Based on my previous experience with CORBA I was thinking about something similar to interceptors where it would be possible to get access to "raw" binary information just before/after transmission and perform encoding/decoding using our hardware unit. Ice has very similar functionality with protocol compression. So my question is - are there any public interfaces or preffered ways to implement this kind of functionality?


    Thank you.
    Andrey.

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    I don't think that it is possible with standard CORBA interceptors to get at the raw protocol data.

    The best way to do this with Ice is to write your own transport plug-in. This would work like our standard TCP/UDP or SSL transports. You could use the tcp transport as a basis of your implementation. See src/Ice/Tcp* for the source.

    Best Regards, Matthew

  3. #3
    andreynech is offline Registered User
    Name: Andrey Nechypurenko
    Organization: GE Healthcare
    Project: hobby remotely controled vehicle
    Join Date
    Feb 2003
    Location
    Munich, Germany
    Posts
    59
    Thank you Matthew for the quick response and suggestion.

    Regards.
    Andrey.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Mutex access from two different servants
    By Ewgenijkkg in forum Help Center
    Replies: 7
    Last Post: 07-10-2007, 08:32 AM
  2. DLL access violation
    By youkind in forum Help Center
    Replies: 2
    Last Post: 08-15-2006, 04:47 AM
  3. Replies: 0
    Last Post: 10-21-2004, 05:12 PM
  4. Self access problem
    By Jonathan in forum Help Center
    Replies: 2
    Last Post: 03-31-2004, 06:40 AM
  5. Multiple Proxy access from different processes?
    By brian in forum Help Center
    Replies: 3
    Last Post: 12-23-2003, 08:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •