Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / June 2005

Tip: Looking for answers? Try searching our database.

Signing a certificate

Thread view: 
Steven Buroff - 18 Jun 2005 17:02 GMT
I have two private-key/certificate pairs in a keystore (created using
keytool).
I want to sign one of them using the other one (the other one's private key
of
course). I'm using Java 1.5. I can't
seem to figure out how to do this from the javadocs. Can someone point
me in the right direction? Thanks.

Steve Buroff
Tommy Grändefors - 21 Jun 2005 09:25 GMT
One solution is to use the Bouncy Castle JCE provider for this. See the
following file in their source code package:
src/org/bouncycastle/jce/examples/PKCS12Example.java

You can get some hints from this thread:
http://groups-beta.google.com/group/comp.lang.java.security/browse_thread/thread
/7c4ead0fd85ee047/b012170e7e3283b2


Regards,
Tommy
www.pheox.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.