OSSL_PARAM_print_to_bio.3ossl - Man Page

OSSL_PARAM_print_to_bio ​- OSSL_PARAM interrogation utilities

Synopsis

​ #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. ​p must be a non-null array of OSSL_PARAM values, terminated with a value containing a null key member. ​print_values is a control parameter, indicating that key values should be printed, in addition to key names.

Return Values

OSSL_PARAM_print_to_bio() returns 1 on success, and 0 on failure

History

OSSL_PARAM_print_to_bio() was added in OpenSSL 3.5

Info

2026-08-25 3.5.8 OpenSSL