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β apskc_key_thandle, and you get it frompskc_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>. π¬
- 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. 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
- 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