On Tue, Sep 07, 2004, Niklas Olsson wrote:

> 
> Hi,
> thanks for the help, I havn't got it to work yet though.
> One question.
> The RFC states
> "An RSA encrypted value is encoded with PKCS #1 block type 2 as
>   described in [PKCS1]."
> should I use d2i_X509 for that?
> 

d2i_X509() is for DER format certificates only.

RSA encrypted data should be just read in verbatim into a buffer.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to