Re: Decrypting PKCS8 private keys

Jan Luehe (luehe@laguna.eng.sun.com)
Thu, 20 May 1999 10:50:29 -0700 (PDT)

Message-Id: <199905201750.KAA12992@laguna.eng.sun.com>
Date: Thu, 20 May 1999 10:50:29 -0700 (PDT)
From: Jan Luehe <luehe@laguna.eng.sun.com>
Subject: Re: Decrypting PKCS8 private keys
To: leachbj@aba.net.au

Bernard:

> Given that the PKCS8EncodedKeySpec exists specifically for private
> keys it seems a little confusing to have the private key part
> in X509EncodedKeySpec as well (esp. since we can't find the X.509
> PrivateKeyInfo structure!).

Agreed! I also checked the latest RFC2459 and could not find
an ASN.1 spec for private keys there either.

I'll remove the reference to private keys from the
X509EncodedKeySpec javadocs.

Thanks,

Jan