pskc_get_key_data_secret(3)
hiii bestie π welcome to the libpskc manual page for pskc_get_key_data_secret(3) β yes, the whole page is about this one function, and it's lowkey a main character. Let's go. π¦
πΈ NAME πΈ
pskc_get_key_data_secret β it's an API function. Short name, big "get the secret" energy. Slay. β¨
β¨ SYNOPSIS β¨
#include <pskc.h>
const char * pskc_get_key_data_secret(pskc_key_t * key, size_t * len);
π ARGUMENTS π
pskc_key_t * keyβ apskc_key_thandle, frompskc_get_keypackage(). That's your key, babe. π (handle acquired, we love to see it)size_t * lenβ pointer to an output variable with the length of the returned data. It's where the size info goes. π write it out, bestie
π DESCRIPTION π
Get the PSKC KeyPackage Key Data Secret value. ποΈβ¨ That's the whole quest. It's giving "secret value retrieval, but make it API."
If len is not set, the caller can only use the returned value for comparison against NULL to check whether the field is present or not. No length means no using the returned content beyond that NULL check β just "is this thing here or not?" energy. π
π₯ RETURNS π₯
A constant string (must not be deallocated) holding the content of length *len, or NULL if not set. π«Ά
Vibe check: do not free it, bestie β that string is borrowed and it's staying that way. π
π REPORTING BUGS π
Spotted a bug? 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/. Go get that help, bestie. π«Ά
π 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. So yes: copy it, distribute it, modify it or don't, any medium, no royalty β just keep the copyright notice and this notice intact. Periodt. β¨
okay that's the page, bestie π
β source/version is libpskc 2.6.15, and the footer's page name is pskc_get_key_data_secret(3). The footer has no date listed, so I'm not inventing one; 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