Programmatically creating a self-signed certificate using JCE

From: Amin Ahmad (amin_ahmad60_at_hotmail.com)
Date: 11/16/04


Date: 16 Nov 2004 07:30:06 -0800

Hello,

I was wondering if there is a way to programatically generate and
store a self-signed certificate using the Sun JCE implementation?
Assume that I have a public/private RSA key pair already generated.

Obviously, the keytool will allow me to generate such a certificate,
but I am looking for a way to do it in Java without invoking external
commands.

thanks,
Amin


Quantcast