X509_INFO_NEW(3)
π NAME π
okay so welcome to X509_INFO_NEW(3), a page from the Library Functions Manual π
X509_INFO_new, X509_INFO_free β X.509 certificate wrapper object. periodt.
β¨ SYNOPSIS β¨
#include <openssl/x509.h>
X509_INFO *
X509_INFO_new(void);
void
X509_INFO_free(X509_INFO *info);
π DESCRIPTION π
X509_INFO is literally a reference-counted wrapper object, and it stores a pointer to an X.509 certificate together with pointers to the associated private key and to an associated certificate revocation list. It's used internally by X509_load_cert_crl_file(3), for example. iconic behavior honestly π«Ά
X509_INFO_new() allocates and initializes an empty X509_INFO object and sets its reference count to 1. slay β¨
X509_INFO_free() decrements the reference count of info by 1. If the reference count reaches 0, it frees all referenced objects as well as the storage needed for info itself. If info is a NULL pointer, no action occurs β no cap, it just vibes and does nothing π
π RETURN VALUES π
X509_INFO_new() returns the newly allocated X509_INFO object or NULL if an error occurs. that's the whole story bestie β NULL means error π
π¦ SEE ALSO π¦
β HISTORY β
X509_INFO_new() and X509_INFO_free() first appeared in SSLeay 0.5.1 and have been available since OpenBSD 2.4. history-making behavior π
xoxo from your Debian bestie π, dated October 19, 2021 β this is the X509_INFO_NEW(3) page, and that's the tea π
π¦ where this page comes from
- opensuse-leap 16.0: libressl-devel-doc 4.1.0-bp160.1.1 Β· OpenSSL
- Copyright (c) 2019 Ingo Schwarze <schwarze@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms