Okay.  Out of curiosity, what're the functions for:

1) Verifying that a given public key (not part of an X509 structure)
matches a given EVP_PKEY?
2) Extracting the public key from the EVP_PKEY (since, as I understand
it, the public key is stored as part of the private key structure)?

-Kyle H

On 3/15/06, Dr. Stephen Henson <[EMAIL PROTECTED]> wrote:
> On Wed, Mar 15, 2006, Julien ALLANOS wrote:
>
> >
> > int X509_verify(X509 *a, EVP_PKEY *r);
> >
>
> No that will check to see if the certfiicate "a" was signed by public key "r".
>
> The function:
>
> int X509_check_private_key(X509 *x, EVP_PKEY *k)
>
> is the right one.
>
> 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                    openssl-users@openssl.org
> Automated List Manager                           [EMAIL PROTECTED]
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to