pskc_set_key_reference(3)
๐ pskc_set_key_reference โ NAME
okay so bestie, welcome to libpskc โจ this one's literally called pskc_set_key_reference, and it's an API function ๐ that's it, that's the whole vibe of the name, iykyk ๐
๐ฆ SYNOPSIS
#include <pskc.h>
void pskc_set_key_reference(pskc_key_t * key, const char * keyref);
like, you pull in the header, you call the function, done ๐ซถ no cap.
๐ธ ARGUMENTS
pskc_key_t * keyโ apskc_key_thandle, the one you get frompskc_get_keypackage(). your main character pointer fr ๐const char * keyrefโ a pointer to the key reference string you wanna set. yes it's just a pointer, hold that thought ๐
๐ DESCRIPTION
so this function sets the PSKC KeyPackage Key KeyReference value. iconic, we love a straightforward assignment โจ
but likeโฆ listen to me ๐จ the pointer is stored in the container โ it is NOT a copy of the data. so you absolutely must not deallocate the data before another call to this function, or before the last call to any function using the container. like, don't free it early, bestie, that's a one-way ticket to undefined-behaviour city and we are NOT going there ๐ญ๐
๐ SINCE
2.2.0 โ she's been here a minute, a real veteran ๐
๐ REPORTING BUGS
found a bug? spill the tea 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. slay, open license, we stan ๐ซถ
and that's the whole page, bestie ๐ง this was pskc_set_key_reference(3) from libpskc version 2.6.15 โ mwah, go forth and set those key references responsibly ๐
๐
๐ฆ 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