Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2008

    TLS for Raw TCP socket

    Hello ,

    I have an client application on mobile(N95) which communicates with Server which is standalone(not a web based).

    So I want to write TLS/SSL client on a mobile using J2ME(MIDP 2.0). I understood a protocol(Handshake, Record protocol). Now I want to implement it.

    So is there any library available for doing this. What all steps i need to do in order to implement TLS for Raw TCP Socket.

    Any example which can demonstrate this?

    Any Help?


  2. #2
    Registered User
    Join Date
    Mar 2003
    1. javax.microedition.io.SecureConnection
    2. The Legion of the Bouncy Castle
    Did that help?

  3. #3
    Registered User
    Join Date
    Aug 2008

    Re: TLS for Raw TCP socket

    Hey Traud,

    Thanks for reply.

    My problem seems to be solved by using "ssl:\\host_nameort" and opening connection using StreamConnection.

    I found that, MIDP 2.0 supported devices has in-built SSL support. So I just opened the SSL connection in midlet and its done.

    and At server side I have used sTunnel open source utility..

    Is this approach correct?

    Correct me if i am going in wrong direction..

Similar Threads

  1. TCP server packet receiving problem
    By raj_rr7 in forum Symbian Networking & Messaging (Closed)
    Replies: 9
    Last Post: 2007-07-12, 12:24
  2. Replies: 0
    Last Post: 2005-09-16, 16:38
  3. TCP socket connection between Symbian device and Windows
    By raghucp in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2003-09-15, 10:15
  4. TCP socket
    By smallfish_ntu in forum Symbian
    Replies: 0
    Last Post: 2003-08-20, 08:40

Posting Permissions

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