X509_SIG_GET0(3)
π NAME π
X509_SIG_get0, X509_SIG_getm β the DigestInfo functions, bestie π
β¨ SYNOPSIS β¨
library βlibcryptoβ #include <openssl/x509.h>
void
X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg,
const ASN1_OCTET_STRING **pdigest);
void
X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg,
ASN1_OCTET_STRING **pdigest);
π¦ DESCRIPTION π¦
Okay so X509_SIG_get0() is the one that hands you back pointers to the algorithm identifier and the digest value that live inside sig. Very demure, very "here are your pointers" π«Ά
X509_SIG_getm() is literally identical to X509_SIG_get0(), except the pointers it gives back are not constant and can be modified β for example, to initialise them. Same vibe, slightly more freedom. Periodt π
π SEE ALSO π
π HISTORY π
X509_SIG_get0() and X509_SIG_getm() first appeared in OpenSSL 1.1.0 and have been available since OpenBSD 7.1. Iconic behaviour, no cap β¨
xoxo, Debian β June 8, 2025 β X509_SIG_GET0(3) π
π
π¦ where this page comes from
- alpine 3.24: libressl-doc 4.3.1-r0 Β· custom
- arch rolling: libressl 4.4.0-1 Β· ISC AND custom:OpenSSL
- Copyright (c) 2016 The OpenSSL Project
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms