Checking if a key can sign / verify in 3.0

Norm Green norm.green at gemtalksystems.com
Wed Aug 19 01:01:29 UTC 2020


In 3.0 I see this new function in evp.h :

int EVP_PKEY_can_sign(const EVP_PKEY *pkey);

Is there an equivalent way to check if a key can verify? I'm not seeing 
an obvious way to do that.  Previously I used 
EVP_PKEY_meth_get_verifyctx() but that call is now deprecated in 3.0.

thanks,

Norm Green



More information about the openssl-users mailing list