Discussion Board

Results 1 to 6 of 6
  1. #1
    How do I access the certificates present in a handset from a midlet ?
    I don't really want to load the cert into objects, just reading data would be enough.
    (not using SATSA - if that supports)

    thanks
    ~b

  2. #2
    Registered User juarezjunior's Avatar
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,883
    Hi ~b,

    "How do I access the certificates present in a handset from a midlet ?"

    AFAIK there's no way for MIDlets.

    BR,

    Juarez Jr

  3. #3
    thank u juarezjunior, thats interestingly sad.

    I'm still curious.
    * Then hows does https connections work ? May be they are just generating a keypair and not authenticating the server ?

    * What is the significance of the "Certificate" interface available in j2me SDK ?

    thanks
    ~b

  4. #4
    Super Contributor peterblazejewicz's Avatar
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,699
    hi ~b,

    and question is "how do you obtain reference to Certificate/SecurityInfo?" the answer is from GCF implementations like HttpsConnectionor SecureSocket,
    its read only information about current connection security layer information according from what i know from docs, everythings happens behind-a-scene in microedition java, we just use ssl or https,

    regards,
    Peter

  5. #5
    Peter,
    I was thinking more from an authentication point of view. Suppose if I want to use 3rd party packages like bouncy castle to do TLS, I need a cert store to authenticate servers. Well, it looks like its under the hood and the hood will remain closed for the time being..

    thanks anyway..
    ~b

  6. #6
    Super Contributor peterblazejewicz's Avatar
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,699
    hi,

    yes, but that is how it works,
    In general, HTTPS is a seamless solution for developers and users. It does require that browsers or MIDP implementations include root certificates for commonly used certificate authorities. When a server presents a certificate or certificate chain, the device implementation must possess the root certificate so that it can verify the server's certificate.
    that from article already mentioned in other thread about using crypt libs like BouncyCastle
    http://developers.sun.com/techtopics...les/security3/
    that library can be used to read cert shipped within .jar - that is not in-device root certs which are not available for midlet - I'm guessing JSR-75 won't allow to read that system folder,

    hth,
    regards,
    Peter

Similar Threads

  1. Nokia Tech Specialists, can you help me in installing User Certificate in Nokia 6230i
    By umeshbansal79 in forum Mobile Java Networking & Messaging & Security
    Replies: 17
    Last Post: 2008-01-09, 18:20
  2. How can I access the certificate store?
    By lindaklm in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2007-08-28, 17:56
  3. Self-signed CA certificate
    By blackbuddha in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2006-07-25, 11:03
  4. Using the Certificate Store
    By Yratelev in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2006-02-20, 09:44
  5. Please help implementing WTLS
    By Nokia_Archived in forum WAP Servers
    Replies: 1
    Last Post: 2002-05-20, 13:27

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