pskc_get_id(3)
π pskc_get_id(3) β like, the libpskc manual page, bestie
okay so this is a page from the libpskc manual, section 3 (that's the library-functions girlies β¨). it's short, it's sweet, it's giving "one job and she does it." let's go π
πΈ NAME πΈ
pskc_get_id β the API function, and yes she's the main character of this whole page π
β¨ SYNOPSIS β¨
#include <pskc.h>
const char * pskc_get_id(pskc_t * container);
like, that's it. that's the whole vibe check. one include, one function call π«Ά
π¦ ARGUMENTS π¦
pskc_t * containerβ apskc_thandle, and you get one of those frompskc_init(). that's where she comes from, no cap. so like, init first, then come talk to me π
π DESCRIPTION π
Get the PSKC KeyContainer Id attribute. literally that's it. she fetches the Id attribute off the KeyContainer for you, and she does it flawlessly, periodt π₯
β RETURNS β
a constant string holding the content β and bestie, listen to me: must not be deallocated π that string is not yours to free, okay? hands off. she's a guest in this house.
and if the thing isn't set? you get NULL. no drama, no crash, just NULL. check for it, iykyk π
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the girlies at <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.
fr fr that's the whole license β keep the notice, keep the vibes, no royalty required π§
and that's the page!! this came out of libpskc version 2.6.15 π so like, cite her properly when you're out here slaying in production. 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