pskc_get_cryptomodule_id(3)

πŸ¦‹ pskc_get_cryptomodule_id(3) πŸ¦‹

okay so this is a libpskc manual page, bestie β€” the function name is lowkey a whole TikTok handle, but we're gonna slay it together πŸ’… No cap, it's giving "tiny API function with main character energy."


πŸ’– NAME πŸ’–

pskc_get_cryptomodule_id β€” API function. She gets the CryptoModule Id out of a PSKC KeyPackage, and honestly? iconic ✨


✨ SYNOPSIS ✨

#include <pskc.h>

const char * pskc_get_cryptomodule_id(pskc_key_t * key);

πŸŽ€ ARGUMENTS πŸŽ€

  • pskc_key_t * key β€” a pskc_key_t handle, from pskc_get_keypackage(). That's the keypackage bestie you're working with 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Get the PSKC KeyPackage CryptoModule Id value. This element carries a unique identifier for the CryptoModule and is implementation specific. As such, it helps to identify a specific CryptoModule to which the key is being or was provisioned.

Like... it's literally the little ID badge for the CryptoModule πŸͺͺ, and because it's implementation specific, it's the thing that helps you point at the exact CryptoModule your key is being β€” or was β€” provisioned to. No cap, that's the whole vibe. πŸ”₯


🌸 RETURNS 🌸

a constant string (must not be deallocated) holding the content, or NULL if not set.

bestie please do not deallocate it β€” it's a constant string, not yours to free. If it's not set, you get NULL, and that's it πŸ’€

🚨 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/

fr fr, if something's busted, tell the nice maintainers. 🫑


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.


with love, libpskc 2.6.15 and the pskc_get_cryptomodule_id(3) page β€” copyright date vibes 2009-2026 β€” mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from