OSSL_PARAM_PRINT_TO_BIO(3ossl)

πŸ“¦ version 3.5.0, in opensuse-leap 16.0

🌸 NAME 🌸

OSSL_PARAM_print_to_bio β€” the OSSL_PARAM interrogation utilities, bestie. This is the 3ossl manual page, and yes, it's giving β€œtiny but useful” energy ✨

πŸŽ€ SYNOPSIS πŸŽ€

okay so here’s the include and the function signature, copy-paste girlies:

#include <openssl/params.h>

int OSSL_PARAM_print_to_bio(const OSSL_PARAM *p, BIO *bio,
                            int print_values);

πŸ’… DESCRIPTION πŸ’…

OSSL_PARAM_print_to_bio() formats each parameter contained in the passed-in array of OSSL_PARAM values p, and prints both the key β€” and optionally its value β€” to a provided BIO. Iconic little printing behavior, no cap.

p must be a non-null array of OSSL_PARAM values, terminated with a value containing a null key member. Yes, that terminator matters, bestie β€” it’s the β€œwe’re done here” marker 🫢

print_values is a control parameter, indicating that key values should be printed, in addition to key names. So if you want the receipts β€” keys and values β€” that’s what this switch is for πŸ’–

⭐ RETURN VALUES ⭐

OSSL_PARAM_print_to_bio() returns 1 on success, and 0 on failure. Simple, clean, slay πŸ’…

πŸ¦‹ HISTORY πŸ¦‹

OSSL_PARAM_print_to_bio() was added in OpenSSL 3.5.

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


okay bestie, this was OpenSSL 3.5.0, dated 2026-09-25, from the OSSL_PARAM_PRINT_TO_BIO(3ossl) page β€” mwah πŸ’‹

πŸ“¦ where this page comes from