Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-13-2008, 08:45 AM
Member
 
Join Date: May 2008
Posts: 22
Jesdisciple is on a distinguished road
Storing Private Keys in Source Code
I think I have a rather unusual situation... I need to authenticate:
  • my Lobo plugin with the server, and
  • the server (actually, an HTTP response) with my user.
(See JavaForge: Gryphon for what I'm doing.)

The first is the trickier of the two, because the open-source plugin must be distributed freely to users and all copies must have the same private key. (Each server will have copies of the plugin's public key.)

But the second is also pretty tricky in a similar way. I think the response will be dynamic, so the private key needs to be available for signing at runtime. Also, the private key will be the server's... Would it be best to supply an interface (or abstract class?) for the server to implement, and pass the response to be signed through a method in that interface?

Thanks!
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
open source java code reena Advanced Java 1 04-19-2008 07:57 PM
Retreiving list of keys from Map with certan value desmond5 New To Java 1 03-06-2008 09:10 PM
Changing plugins source code yakupemre Eclipse 1 08-15-2007 10:31 AM
how to convert source code to xml valery XML 2 08-06-2007 09:29 PM
Need a source code vissu007 New To Java 1 07-05-2007 08:08 PM


All times are GMT +3. The time now is 01:04 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org