[#EVP_PKEY_digestsign_supports_digest] = EVP_PKEY_digestsign_supports_digest :mrdocs: Query whether digest `name` can be used for DigestSign/Verify with `pkey.` == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_digestsign_supports_digest( xref:EVP_PKEY.adoc[EVP_PKEY]* pkey, xref:OSSL_LIB_CTX.adoc[OSSL_LIB_CTX]* libctx, char const* name, char const* propq); ---- == Return Value 1 if supported, 0 if not, or a negative value on failure. == Parameters [cols="1,4"] |=== | Name| Description | *pkey* | Public key whose signature algorithm is checked. | *libctx* | Library context for algorithm fetches, or NULL for the default. | *name* | Digest algorithm name (for example "SHA256"). | *propq* | Property query for provider selection, or NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#