EVP_PKEY_DIG...PPORTS_DIGEST(3ossl)
π NAME π
EVP_PKEY_digestsign_supports_digest β ok so this one literally tells you whether a signature digest is supported or not, bestie β¨
π¦ SYNOPSIS π¦
#include <openssl/evp.h>
int EVP_PKEY_digestsign_supports_digest(EVP_PKEY *pkey, OSSL_LIB_CTX *libctx,
const char *name, const char *propq);
πΈ DESCRIPTION πΈ
So the EVP_PKEY_digestsign_supports_digest() function is basically the vibe check π β it queries whether the message digest name is supported for public key signature operations that are associated with key pkey.
The way it works: you hand it a pkey, and it goes "yeah, can this digest hang with this key for signing?" The query happens inside an optional library context libctx, and with an optional property query propq too β both optional, both lowkey doing their own thing π«Ά
β RETURN VALUES β
1β slay π the message digest algorithm identified bynamecan be used for public key signature operations associated with keypkey.0β nope, it cannot be used. not it. π- negative value β failure π like, something went wrong-wrong.
π SEE ALSO π
π₯ HISTORY π₯
The EVP_PKEY_digestsign_supports_digest() function was added in OpenSSL 3.0 β so it's been iconic since then π
π COPYRIGHT π
Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
ok and that's the whole page, periodt π§ this was the EVP_PKEY_digestsign_supports_digest (3ossl) page from OpenSSL 3.5.6, dated 2026-04-0β¦ (the footer date got cut off mid-number, not me being sloppy, that's just what the line says, iykyk π). bye bestie, go check your digests πππ
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms