Re: [openssl-users] can I parse PKCS8 file and decrypt it later?

2014-12-30 Thread Dave Thompson
> From: openssl-users On Behalf Of Bear Giles > Sent: Tuesday, December 30, 2014 16:53 > I've been able to read and write most objects using both the PEM bio > and i2d/d2i functions. I know I can write an encrypted PKCS8 file with > PEM_write_bio_PKCS8PrivateKey(). > How do I read encrypted PKCS

[openssl-users] can I parse PKCS8 file and decrypt it later?

2014-12-30 Thread Bear Giles
Two questions actually. I've been able to read and write most objects using both the PEM bio and i2d/d2i functions. I know I can write an encrypted PKCS8 file with PEM_write_bio_PKCS8PrivateKey(). How do I read encrypted PKCS8 files? I can read unencrypted files with PKCS8_PRIV_KEY_INFO but have