Cheking public or private key

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Cheking public or private key

Patrice Guérin-2
Dear All,

Is there a way to check if a EVP_PKEY is a public or private key ?

In the case of use of EVP_Sign or EVP_DigestSign functions, an
application leads to crash with SIGSEGV
if an incorrect key is given when finalizing process.

Thanks in advance for your answers.

Kind regards,