How about first change the PEM file into PKCS12 format. PKCS12 is a supported KeyStore type in Java, and then you can use KeyStore.getInstance("pkcs12") to load it.

Max

On Nov 27, 2006, at 19:58, Isvaran Krishnamurthy wrote:

Hi,

I have a requirement to read a PEM file and import it in to a java JKS store.
I am looking at a pure java solution (no JNI / library dependancy).
I need to know the format of the PEM file and the relationship between each entry in the PEM file (if any). I tried to find documentation of the PEM format on the web to no avail. I would greatly appreciate it if any of you fine folks would help me out by providing info on the PEM file format.

Thanks a lot,
Isvaran Krishnamurthy.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to