Discussion Board

Results 1 to 7 of 7
  1. #1
    All,
    How do I do data level encryption (PKI/SSL) on a bluetooth socket connection ? I checked J2ME and Symbian C++ classes., but what I could find was bluetooth socket and SSL sockets are seperate (not inherited) classes.

    What I want to do is: I have a live BT connection (non-secure). Now I want to transfer a critical data - and that need to be secure. So If was plain old SSL or J2xE, I can convert my socket to a SSL socket. Can I do something like that with Symian/J2ME ? If not, is there a 3rd part library availale ?

    thanks a lot
    ~b

  2. #2
    Nokia Developer Champion traud's Avatar
    Join Date
    Mar 2003
    Posts
    3,891
    Why is your Bluetooth connection itself not encrypted? Or is this a must?

  3. #3
    >> Why is your Bluetooth connection itself not encrypted? Or is this a must?
    Yes it is a must. We need a certificates based PKI environment to prove data security.
    Relying on BT standard security may not be an option.

    thanks.

  4. #4
    Super Contributor Jason Glass's Avatar
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556
    if you have to go with your own encryption, try http://bouncycastle.org , i got there encryption api working on s60

    good luck, hi Traud!
    Jason Glass
    http://IChiBanComputers.Com

  5. #5
    thank you guys for the valuable inputs
    ~b

  6. #6
    Registered User kosat's Avatar
    Join Date
    Apr 2006
    Posts
    8
    This question is close to problem which I have trying to find a way to make HTTP connection over Bluetooth;
    When i inherited com.sun.midp.io.j2me.http.Protocol;
    .. and overrided connect() :

    protected StreamConnection connect() throws IOException {

    StreamConnection conn=(StreamConnection) javax.microedition.io.Connector.open(strSPPUrl);
    DataOutputStream streamOutput = conn.openDataOutputStream();
    DataInputStream streamInput = conn.openDataInputStream();
    ...

    return conn;
    }
    ....
    and placed child class in my package
    This works on Nokia emul but when i installed it on 6600 as Untrusted Midlet it didn't run - I click on it and nothing happens
    Actualy, why developers didn't made Connector.Open to search Protocl files in some predefined package opened to write to?
    PS: 10x for any help
    PPS: I'm sorry if I made any mistakes in English

  7. #7
    Nokia Developer Champion traud's Avatar
    Join Date
    Mar 2003
    Posts
    3,891
    Nice work, however, there is no guarantee this (private) super class is available. You have to go the hard way and apply for the LAN or PAN Bluetooth profile and write all protocol layers above RFCOMM.

    It is rather unnormal to do HTML over Bluetooth (except in LAN/PAN). Reconsider the used protocols especially because of heap memory usage and programming efforts you would have to put in.
    Last edited by traud; 2006-05-19 at 19:15.

Similar Threads

  1. Bluelet - Rapid Bluetooth App Development (Free source)
    By huiben in forum Mobile Java General
    Replies: 4
    Last Post: 2008-07-25, 15:52
  2. Bluetooth Emulation
    By aohx075 in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2004-08-24, 04:14
  3. PC Suite not detect 6600 with Bluetooth connection
    By spinacle in forum Bluetooth Technology
    Replies: 29
    Last Post: 2004-03-14, 23:24
  4. Nokia 7650 support Bluetooth audo?
    By ovjo12 in forum Bluetooth Technology
    Replies: 5
    Last Post: 2003-07-17, 18:50
  5. 7650 and MS Bluetooth Transceiver
    By damnedi in forum Bluetooth Technology
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved