×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    124

    Certificate store - HOWTO ?

    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
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: Certificate store - HOWTO ?

    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
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    124

    Re: Certificate store - HOWTO ?

    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
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: Certificate store - HOWTO ?

    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
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    124

    Re: Certificate store - HOWTO ?

    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
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: Certificate store - HOWTO ?

    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
  •  
×