5 EVP_PKEY_digestsign_supports_digest - indicate support for signature digest
9 #include <openssl/evp.h>
10 int EVP_PKEY_digestsign_supports_digest(EVP_PKEY *pkey, OSSL_LIB_CTX *libctx,
11 const char *name, const char *propq);
15 The EVP_PKEY_digestsign_supports_digest() function queries whether the message
16 digest I<name> is supported for public key signature operations associated with
17 key I<pkey>. The query is done within an optional library context I<libctx> and
18 with an optional property query I<propq>.
22 The EVP_PKEY_digestsign_supports_digest() function returns 1 if the message
23 digest algorithm identified by I<name> can be used for public key signature
24 operations associated with key I<pkey> and 0 if it cannot be used. It returns
25 a negative value for failure.
29 L<EVP_DigestSignInit_ex(3)>,
33 The EVP_PKEY_digestsign_supports_digest() function was added in OpenSSL 3.0.
37 Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
39 Licensed under the Apache License 2.0 (the "License"). You may not use
40 this file except in compliance with the License. You can obtain a copy
41 in the file LICENSE in the source distribution or at
42 L<https://www.openssl.org/source/license.html>.