logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

EVP_PKEY_digestsign_supports_digest - indicate support for signature digest

Description

       The EVP_PKEY_digestsign_supports_digest() function queries whether the message digest name is supported
       for public key signature operations associated with key pkey. The query is done within an optional
       library context libctx and with an optional property query propq.

History

       The EVP_PKEY_digestsign_supports_digest() function was added in OpenSSL 3.0.

Name

       EVP_PKEY_digestsign_supports_digest - indicate support for signature digest

Return Values

       The EVP_PKEY_digestsign_supports_digest() function returns 1 if the message digest algorithm identified
       by name can be used for public key signature operations associated with key pkey and 0 if it cannot be
       used. It returns a negative value for failure.

See Also

EVP_DigestSignInit_ex(3),

Synopsis

        #include <openssl/evp.h>
        int EVP_PKEY_digestsign_supports_digest(EVP_PKEY *pkey, OSSL_LIB_CTX *libctx,
                                                const char *name, const char *propq);

See Also