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β apskc_key_thandle 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 incontainer, 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 usingcontainer. 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>.
- 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.
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
- 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