X509_SIG_GET0(3ossl)
β¨ NAME β¨
X509_SIG_get0, X509_SIG_getm β DigestInfo functions π
okay bestie, welcome to the X509_SIG_GET0(3ossl) page from OpenSSL β we're talking about the DigestInfo getter girlies and they are lowkey iconic for doing exactly one job.
π¦ SYNOPSIS π¦
#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 πΈ
So X509_SIG_get0() hands you pointers to the algorithm identifier and the digest value inside sig. That's the whole vibe. π«Ά
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 function energy, just with write access unlocked. π
β RETURN VALUES β
X509_SIG_get0() and X509_SIG_getm() return no values. Not me pointing at the void in the synopsis and saying "periodt" π β they just do their pointer thing and dip.
π SEE ALSO π
π COPYRIGHT π
Copyright 2002-2020 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>.
mwah π β this little page is from OpenSSL 3.5.0, dated 2026-09-25, and yes she ate. β¨
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3-doc 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms