pskc_get_key_reference(3)

πŸ’– pskc_get_key_reference(3) πŸ’–

okay so bestie, this one lives in the libpskc manual and honestly? it's a little legend. it's a getter. it gets a thing. that's the whole vibe. let's go ✨


🌸 NAME 🌸

pskc_get_key_reference β€” literally an API function, no cap 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <pskc.h>

const char * pskc_get_key_reference(pskc_key_t * key);

like, that's it. that's the whole signature. iconic πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pskc_key_t * key β€” a pskc_key_t handle, and you get it from pskc_get_keypackage(). that's the source, that's the plug, don't come at me with anything else πŸ”₯

⭐ DESCRIPTION ⭐

Get the PSKC KeyPackage Key KeyReference value. yep β€” that's the whole assignment and she ate πŸ’€βœ¨

so you hand it your key handle, it hands you back the KeyReference sitting inside that PSKC KeyPackage Key. simple. clean. main character energy πŸ‘‘


🌈 RETURNS 🌈

it gives you back a constant string holding the content β€” must not be deallocated, ok?? like do NOT free it, it's not yours to free, hands off πŸ™ˆ β€” or NULL if it's not set.

bestie pls internalise this: constant string, must not be deallocated. if it comes back NULL, that means not set, not broken. don't panic πŸ“

πŸ’œ REPORTING BUGS πŸ’œ

found something cursed? report bugs to <oath-toolkit-help@nongnu.org>. πŸ“¬


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. periodt πŸ’…βœ¨


and that's the page, bestie πŸ§šπŸ’– sign-off time: this was libpskc version 2.6.15, page pskc_get_key_reference(3) β€” go get that KeyReference, you've got this 🫢🌸

πŸ“¦ where this page comes from