pskc_set_device_serialno(3)

Welcome to the pskc_set_device_serialno(3) page from the libpskc manual β€” come get this setter glow-up πŸ’…βœ¨

🌸 NAME 🌸

pskc_set_device_serialno β€” API function. Bestie, it’s a little setter with main-character energy: it handles the serial number field for you πŸŽ€

✨ SYNOPSIS ✨

#include <pskc.h>

void pskc_set_device_serialno(pskc_key_t * key, const char * serialno);

πŸŽ€ ARGUMENTS πŸŽ€

  • pskc_key_t * key β€” a pskc_key_t handle from, e.g., pskc_add_keypackage(). Your key package bestie 🫢
  • const char * serialno β€” string with serial number to set. This is the serial-number string you’re handing over ✨

πŸ’– DESCRIPTION πŸ’–

Set the PSKC KeyPackage DeviceInfo SerialNo value. This element indicates the serial number of the device. Like, it’s literally the field that says which device’s serial number this is πŸ¦‹

⚠️ The pointer is stored in container, not a copy of the data, so you must not deallocate the data before another call to this function or the last call to any function using container. No cap: do not free that string early β€” the container is holding onto your pointer, not a clone of the data πŸ˜­πŸ’€

⭐ SINCE ⭐

2.2.0 β€” that’s when this one showed up. Iconic behavior πŸ‘‘

πŸ”₯ REPORTING BUGS πŸ”₯

Report bugs to <oath-toolkit-help@nongnu.org>.

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.


That’s the whole vibe, bestie πŸ’– This page comes from libpskc version 2.6.15, and its footer identifies it as pskc_set_device_serialno(3) β€” no separate date is listed on this one. Mwah, go set those serial numbers with confidence 🌈✨

πŸ“¦ where this page comes from