1EVP_PKEY_DIGESTSIGN_SUPPORTS_DIGEST(3OEopVsePsn_lSP)SKLEY_DIGESTSIGN_SUPPORTS_DIGEST(3ossl)
2
3
4
6 EVP_PKEY_digestsign_supports_digest - indicate support for signature
7 digest
8
10 #include <openssl/evp.h>
11 int EVP_PKEY_digestsign_supports_digest(EVP_PKEY *pkey, OSSL_LIB_CTX *libctx,
12 const char *name, const char *propq);
13
15 The EVP_PKEY_digestsign_supports_digest() function queries whether the
16 message digest name is supported for public key signature operations
17 associated with key pkey. The query is done within an optional library
18 context libctx and with an optional property query propq.
19
21 The EVP_PKEY_digestsign_supports_digest() function returns 1 if the
22 message digest algorithm identified by name can be used for public key
23 signature operations associated with key pkey and 0 if it cannot be
24 used. It returns a negative value for failure.
25
27 EVP_DigestSignInit_ex(3),
28
30 The EVP_PKEY_digestsign_supports_digest() function was added in OpenSSL
31 3.0.
32
34 Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
35
36 Licensed under the Apache License 2.0 (the "License"). You may not use
37 this file except in compliance with the License. You can obtain a copy
38 in the file LICENSE in the source distribution or at
39 <https://www.openssl.org/source/license.html>.
40
41
42
433.0.5 202E2V-P0_7P-K0E5Y_DIGESTSIGN_SUPPORTS_DIGEST(3ossl)