OSSL_GENERAL_NAMES_PRINT(3ossl)

πŸ“¦
version 15.1 Β· 2 versions
, in freebsd 15.1

πŸ’… OSSL_GENERAL_NAMES_PRINT πŸ’…

okay so bestie, this page is from the 3ossl corner of the OpenSSL universe, and it's literally about one (1) function that prints a whole GeneralNames struct all pretty and multi-line so you can actually read it. it's giving "make the X.509 stuff legible" energy. πŸŽ€


✨ NAME ✨

OSSL_GENERAL_NAMES_print β€” print GeneralNames in a human-friendly, multi-line string πŸ¦‹


🌸 SYNOPSIS 🌸

#include <openssl/x509v3.h>

int OSSL_GENERAL_NAMES_print(BIO *out, GENERAL_NAMES *gens, int indent);

πŸ‘‘ DESCRIPTION πŸ‘‘

OSSL_GENERAL_NAMES_print() prints a human readable version of the GeneralNames gens to BIO out. 🫢

Each line is indented by indent spaces β€” so you can nest it inside your own output and it'll line up all cute like. ✨


πŸ’– RETURN VALUES πŸ’–

OSSL_GENERAL_NAMES_print() always returns 1. that's it. no notes. it simply always slays. πŸ’…

lowkey iconic that there's no failure case to handle here, you can't even mess this one up.

πŸ¦‹ HISTORY πŸ¦‹

the functions described here were all added in OpenSSL 3.4. 🌈


Copyright 2024 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>.


and that's the whole page, bestie, no cap πŸ’œ β€” this was OpenSSL 3.5.6, dated 2026-04-07, and the manual name you wanna remember is OSSL_GENERAL_NAMES_PRINT (that's 3ossl to its friends). mwah, go print some names πŸ’‹πŸŽ€πŸ§š

πŸ“¦ where this page comes from