pskc_output(3)
π¦ NAME π¦
pskc_output β API function. This is the libpskc manual, bestie, and we're about to make the serialization tea make sense π
β¨ SYNOPSIS β¨
#include <pskc.h>
int pskc_output(pskc_t * container, pskc_output_formats_t format, char
** out, size_t * len);
π ARGUMENTS π
Okay so here's the cast β every single one matters, no skipping:
pskc_t * containerβ apskc_thandle, frompskc_init().pskc_output_formats_t formatβ anpskc_output_formats_tenumeration type indicating format. Yes, it's an enum situation, and it's telling us the format πchar ** outβ pointer to output variable holding newly allocated string.size_t * lenβ pointer to output variable hold length of*out.
π DESCRIPTION π
Convert PSKC data to a serialized string of the indicated type. Usually this is used to convert the PSKC data to some human readable form. So like β you've got PSKC data, you pick the format, and it hands you back a serialized string. Most of the time you're doing this because you want a human-readable version. Slay β¨
π RETURNS π
PSKC_OK on success, or an error code. That's the whole vibe check β success gives you PSKC_OK, otherwise you get an error code π
π«Ά REPORTING BUGS π«Ά
Spotted a bug? Report bugs to <oath-toolkit-help@nongnu.org>.
libpskc home page: https://oath-toolkit.codeberg.page/
General help using GNU software: http://www.gnu.org/gethelp/
π COPYRIGHT π
Copyright Β© 2009-2026 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. That's the legal tea, bestie β keep the notice and you're good π«Ά
Footer check, bestie: this is pskc_output(3) from libpskc version 2.6.15, and the date energy is the copyright range 2009-2026. Byeee β go serialize something cute πβ¨
π¦ where this page comes from
- arch rolling: oath-toolkit 2.6.15-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms