Results 1 to 2 of 2
  1. #1
    lc666111 is offline Member
    Join Date
    Sep 2008
    Rep Power

    Default How to store keys in KeyStore use java code

    I can get a KeyPair object, but I don't know how to store the private key in the KeyStore in my code, and how to get a Certificate object from private key and public key. Could anyone help me?

  2. #2
    gabri is offline Member
    Join Date
    Sep 2008
    Rep Power


    If you are using JCE (which seems to be the case) search for jce api in google, there will be a full chapter on JCE Keystore.

Similar Threads

  1. Random keys do now work in eclipse!!!
    By p4ndaman in forum Eclipse
    Replies: 1
    Last Post: 08-04-2008, 08:43 PM
  2. [SOLVED] Navigate with Cursor keys
    By hannehomuth in forum Advanced Java
    Replies: 7
    Last Post: 07-25-2008, 01:22 PM
  3. Replies: 0
    Last Post: 07-11-2008, 04:07 PM
  4. Storing Private Keys in Source Code
    By Jesdisciple in forum Advanced Java
    Replies: 0
    Last Post: 05-13-2008, 08:45 AM
  5. Retreiving list of keys from Map with certan value
    By desmond5 in forum New To Java
    Replies: 1
    Last Post: 03-06-2008, 09:10 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