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β apskc_key_thandle, frompskc_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>.
- libpskc home page:
https://oath-toolkit.codeberg.page/ - General help using GNU software:
http://www.gnu.org/gethelp/
Tell them the bug details, bestie. Theyβre ready. π¬β¨
π 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.
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
- 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