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.