pskc_get_key_id(3)

πŸ’– pskc_get_key_id(3) β€” a libpskc moment πŸ’–

Okay so bestie, welcome to the libpskc manual page for pskc_get_key_id(3). It’s giving β€œtiny function, important key-id energy,” and we’re gonna get through it together. 🫢


🌸 NAME 🌸

pskc_get_key_id β€” API function. That’s the name, that’s the vibe, periodt. πŸ’…


✨ SYNOPSIS ✨

#include <pskc.h>

const char * pskc_get_key_id(pskc_key_t * key);

πŸŽ€ ARGUMENTS πŸŽ€

  • pskc_key_t * key β€” a pskc_key_t handle, from pskc_get_keypackage(). That’s the handle you’re passing in, bestie 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Get the PSKC KeyPackage Key Id attribute value. It is a syntax error for this attribute to not be available.

So like… it literally needs to be there. Not optional, no β€œoops I forgot,” none of that. Syntax error behavior, and we respect it. 😭✨


🌈 RETURNS 🌈

It returns a constant string (must not be deallocated) holding the content, or NULL if not set.

So the string is constant β€” must not be deallocated, okay?? β€” and it holds the content. Or you get NULL if it’s not set. Do not free it. That’s the whole boundary. πŸ’€πŸ’–


🫢 REPORTING BUGS 🫢

Report bugs to <oath-toolkit-help@nongnu.org>.

Tell them the bug details, bestie. They’re ready. πŸ“¬βœ¨


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.

Legal bestie moment: keep the copyright notice and this notice, and you’re slaying within the rules. πŸŽ€


Source/version check: this is libpskc, version 2.6.15, page pskc_get_key_id(3) β€” and the footer doesn’t give a date, so I’m not making one up πŸ™ˆβœ¨ Mwah πŸ’‹

πŸ“¦ where this page comes from