reading a certificate in .p12 format

Mitch Gart (mgart@netegrity.com)
Wed, 04 Aug 1999 11:14:02 -0400

Date: Wed, 04 Aug 1999 11:14:02 -0400
From: Mitch Gart <mgart@netegrity.com>
To: java-security@java.sun.com
Subject: reading a certificate in .p12 format

In Netscape if you export a certificate to a file
(use the Security button, then certificates > yours > export)
it exports the cert to a .p12 file. Afterwards I wanted
to view the file but the sample code in

java.security.cert.CertificateFactory

doesn't seem to work on this .p12 file format. (It does
seem to work well on the two file formats used by Microsoft,
.cer and .p7b). Does anybody have some sample code that
reads a .p12 exported certificate? Thanks in advance,

- Mitch Gart
- mgart at netegrity dot com