pskc_add_keypackage(3)

✨ pskc_add_keypackage(3) β€” the libpskc one ✨

okay bestie, this is the libpskc manual page for pskc_add_keypackage, and it’s giving β€œtiny API, very important container business.” πŸ’…


🌸 NAME 🌸

pskc_add_keypackage β€” API function

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <pskc.h>

int pskc_add_keypackage(pskc_t * container, pskc_key_t ** key);

πŸŽ€ ARGUMENTS πŸŽ€

  • pskc_t * container β€” a pskc_t handle, bestie, and you get it from pskc_init(). πŸ’–
  • pskc_key_t ** key β€” pointer to the pskc_key_t key package handle. ✨

πŸ’… DESCRIPTION πŸ’…

Add a new PSKC keypackage to the container and give back a pskc_key_t handle. That’s the whole move β€” container gets a new keypackage, you get a handle. Iconic. 🫢

πŸ”₯ RETURNS πŸ”₯

PSKC_MALLOC_ERROR on memory allocation errors 😭, or PSKC_OK on success πŸ‘‘.

⭐ SINCE ⭐

2.2.0 β€” periodt.

πŸ› REPORTING BUGS πŸ›

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


okay that’s the whole vibe, bestie 🫢 β€” footer check says source libpskc, version 2.6.15, page pskc_add_keypackage(3), and there’s no date in that footer so I’m not inventing one πŸ˜ŒπŸ’…

πŸ“¦ where this page comes from