[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [iaik-jce] NetscapeP12.class & new JCE
> In the previous version of the JCE, the NetscapeP12 class allows to extract
> the X509 Certificate of a .p12 file. In the new version, 2.5, this class do not
> exist, is posible to extract the X509 certificates from a .p12 file without this
> class?. I try to use the PKCS12 class but it seems that not is possible.
> Somebody can help me?
You should use the method "getCertificateBags()" from PKCS12 class.
This returns a CertificateBag array from which you can extract the
certificates using "getCertificate()".
"Software is like sex; it's better when it's free"
Mailinglist-archive at http://jcewww.iaik.tu-graz.ac.at/mailarchive/iaik-jce/maillist.html
To unsubscribe send an email to email@example.com with the folowing content: UNSUBSCRIBE iaik-jce