pskc_set_key_p...oftransactions(3)
π pskc_set_key_p...oftransactions(3) π
hii bestie, welcome to the libpskc manual π this page is all about setting the number-of-transactions policy on a PSKC key, and itβs giving very specific API energy. letβs get into it π«Ά
β¨ NAME β¨
pskc_set_key_policy_numberoftransactions β API function. thatβs the name, periodt π
πΈ SYNOPSIS πΈ
okay so you include the header and call it like this:
#include <pskc.h>
void pskc_set_key_policy_numberoftransactions(pskc_key_t * key, uint64_t
uses);
π«Ά ARGUMENTS π«Ά
pskc_key_t * keyβ apskc_key_thandle, frompskc_get_keypackage(). β¨uint64_t usesβ the number of transactions to set. π
π DESCRIPTION π
okay so this function sets the PSKC KeyPackage Key Policy NumberOfTransactions value. no cap. The value in this element indicates the maximum number of times a key carried within the PSKC document can be used by an application after having received it. When this element is omitted, there is no restriction regarding the number of times a key can be used. π¦
note note note: while the PSKC specification uses the XML data type "nonNegativeInteger" for this variable, this implementation restricts the size of the value to 64-bit integers. so like, 64-bit realness only π₯
β SINCE β
2.2.0 β iconic since then π
π REPORTING BUGS π
got a bug? spill:
- 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.
and thatβs the whole page, bestie π signed off from the libpskc manual, version 2.6.15, page pskc_set_key_p...oftransactions(3) β no date in sight, and we donβt invent deets. byeeeee ππ
π¦ 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