X509_SIG_GET0(3SSL)
π X509_SIG_GET0 π
okay bestie, so this is a page from the OpenSSL manual, section 3SSL β yes, the 3SSL part is the manual name, that's just how the library docs roll, we don't make the rules π
and today we're talking about the DigestInfo functions: X509_SIG_get0 and X509_SIG_getm. they're little peek-inside helpers. no cap.
β¨ NAME β¨
X509_SIG_get0, X509_SIG_getm β DigestInfo functions πΈ
π 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 back pointers to the algorithm identifier and the digest value that are sitting inside sig. like, it opens the lil container and points at what's in there π«Ά
and X509_SIG_getm() is identical to X509_SIG_get0() except the pointers it gives back are not constant and you can modify them β for example, to initialise them. that's the whole difference. the m is the "you can mess with these" version, fr fr.
π RETURN VALUES π
X509_SIG_get0() and X509_SIG_getm() return no values. like, literally nothing. they just fill in your pointers, that's it, that's the whole job. it's giving "no thoughts, head empty, output void". π«
π 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>.
ok final vibe check: this page is from OpenSSL version4.0.3, dated2026-09-29, and it lives at pageX509_SIG_GET0(3SSL). that's the whole thing, bestie β go peek inside yourX509_SIGs responsibly. mwah πβ¨π
π¦ where this page comes from
- ubuntu stonking: libssl-doc 4.0.3-1ubuntu1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms