pskc_get_key_policy_pinusagemode(3)
π pskc_get_key_policy_pinusagemode(3) β the libpskc page, bestie edition β¨
okay so real talk, this one lives in libpskc (that's the manual it's from, iykyk) and it's honestly such a tiny little getter, but it's important okay. it's giving "small but mighty" πΈ
β¨ NAME β¨
pskc_get_key_policy_pinusagemode β literally the API function, that's it, that's the whole name π
π¦ SYNOPSIS π¦
#include <pskc.h>
pskc_pinusagemode pskc_get_key_policy_pinusagemode(pskc_key_t * key, int
* present);
like, include the header first, always π
πΈ ARGUMENTS πΈ
pskc_key_t * keyβ apskc_key_thandle, and you get it frompskc_get_keypackage(). no cap, that's where it comes from π«Άint * presentβ the output variable that tells you whether the data was provided or not. very "receipts" of it tbh π
π DESCRIPTION π
Get the PSKC KeyPackage Key Policy PINPolicy PINUsageMode value. it's a mandatory attribute (yes mandatory, no skipping π) and it indicates the way the PIN is used during the usage of the key.
and if present is non-NULL, it will be 0 if the field is not present or 1 if it was present. literally a vibe check in integer form β¨
π₯ RETURNS π₯
an pskc_pinusagemode value. that's the whole return, slay π
π REPORTING BUGS π
found a bug? bestie, report it 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. fr fr, just keep the notice π«Ά
reminder:presentcan beNULLand that's fine, but if it's not, it's0or1and nothing else. no inventing numbers, bestie π
and that's the page!! this one's from libpskc 2.6.15, mwah π go get those PIN usage modes, you're gonna ate π¦π
π¦ 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