Jacob Cohen wrote:
>
> Is it possible to extract the 16-byte certificate fingerprint given only the
> RSA struct being used in a private key decrypt? All the certificate
> functions I can see seem to use the SSL struct, which I don't have access to
> from within RSA_private_decrypt().
>
No. The fingerprint is the MD5 hash of the whole certificate, so you
need the whole certificate to determine its hash.
Most certificate functions actually use the X509 structure.
Steve.
--
Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED]
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]