[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iaik-jce] PKCS12

The current PKCS12 version especially is designed for handling PKCS#12
objects as used by Netscape 4.05, 4.5 or MSIE 4.0 with SP3/SP4. This implies
shrouding of the private key by means of a PKCS-8ShroudedKeyBag. In this
way, iaik.pkcs.pkcs.PKCS12 currently only can be used for dealing with
PKCS#12 objects holding encrypted private key and corresponding certificate
chain. For that reason, when parsing a PKCS12 object, the decrypt method
shall be called before getting the bags, since partially they are not set
before the decryption actually has been performed.

Dieter Bratko

-----Ursprüngliche Nachricht-----
Von: Gottschol, Andreas <andreas.a.gottschol@daimlerchrysler.com>
An: <iaik-jce@iaik.tu-graz.ac.at>
Gesendet: Freitag, 28. Mai 1999 15:02
Betreff: [iaik-jce] PKCS12

> Hi,
> is there any possibility to get the public content of a PKCS12
> Object, without calling the decrypt methode? IMHO a decryption
> makes sence only for the private key (KeyBag).
> When I try to access some content of a PKCS12 without de-
> crypting it in advance, I get a NullPointerException, which seems
> strange to me.
> Any comments are very much appreciated.
> A. Gottschol
> --
> Mailinglist-archive at
> To unsubscribe send an email to listserv@iaik.tu-graz.ac.at with the
folowing content: UNSUBSCRIBE iaik-jce