Query whether digest name can be used for DigestSign/Verify with pkey.
Synopsis
Declared in <openssl/evp.h>
int
EVP_PKEY_digestsign_supports_digest(
EVP_PKEY* pkey,
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
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. |
Created with MrDocs