pskc_get_keypackage(3)

πŸ’… pskc_get_keypackage(3) β€” a libpskc moment ✨

okay bestie, welcome to the libpskc page for pskc_get_keypackage(3) β€” the manual name is right there in the title, living its main character energy. no cap, we're keeping every detail intact.


πŸŽ€ NAME πŸŽ€

pskc_get_keypackage β€” API function.

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <pskc.h>

pskc_key_t * pskc_get_keypackage(pskc_t * container, size_t i);

🌸 ARGUMENTS 🌸

  • pskc_t * container β€” a pskc_t handle, from pskc_init().
  • size_t i β€” number of keypackage to get.

✨ DESCRIPTION ✨

okay so here's the tea: pskc_get_keypackage() gets a PSKC keypackage pskc_key_t handle for the i'th key package in container. i is zero-based, i.e., 0 refer to the first key package, 1 refer to the second key package, and so on. yes bestie β€” zero is first, one is second, that's the indexing order, periodt.

πŸ”₯ RETURNS πŸ”₯

  • NULL if there is no i'th key package, or
  • a valid pskc_key_t pointer.

so the return vibe check is literally those two outcomes: NULL for β€œno such key package,” or a valid pskc_key_t pointer. no invented extras, just facts. πŸ’–

🌈 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/

like, if something's cursed, tell the maintainers β€” that's the move. πŸ’…

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 bye bestie πŸ’– this page is pskc_get_keypackage(3) from libpskc, version 2.6.15, and the copyright dates run 2009-2026 β€” that's the footer source/version/date moment, folded into a cute sign-off instead of copying the line. mwah! πŸŽ€

πŸ“¦ where this page comes from