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 / November 2003

Tip: Looking for answers? Try searching our database.

Example source code for CA

Thread view: 
Bruce Barnett - 04 Nov 2003 19:55 GMT
I'd like to find some sample code on accepting and signing certificates.
I'm doing research with a self-contained network with private CA's.
I don't need any transport code, Diffie-hellman, TLS/SSL/Proxies, etc.
Just looking for examples of:
       Creating key pairs and certificates
       Signing own certificate
       Creating a CSR certificate signing request
       Making oneself a CA
       Accepting CSR and signing them
       Accepting new CA's

I don't want command-line utilities, but API's.

I have some examples in the Oaks book of the first 3. But
programatic examples of accepting and signing CSR's aren't included.

I've seen some toolkits, but I'm not sure which ones would be best.
And some offer more than what I want, or have other requirements.
(I've looked at Globus/CoG, and saw the Cycom web site).

This is for a simple proof-of-concept research project where we are
dynamically creating links of CA's and certificates of the clients and CA's.
The only think I need to sign are the certificates (self, and CSR).

And advice will be appreciated.
Signature

Sending unsolicited commercial e-mail to this account incurs a fee of
$500 per message, and acknowledges the legality of this contract.

Pankaj Kumar - 06 Nov 2003 22:01 GMT
Check out http://www.j2ee-security.net/book/dnldsrc/

This is essentially the source files of the code I wrote for my book.
You should find many of the things that you are looking for.

/Pankaj
http://www.j2ee-security.net

> I'd like to find some sample code on accepting and signing certificates.
> I'm doing research with a self-contained network with private CA's.
[quoted text clipped - 9 lines]
> I don't want command-line utilities, but API's.
> And advice will be appreciated.


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.