pskc_get_key_policy_pinencoding(3)
π pskc_get_key_policy_pinencoding(3) π
β¨ NAME β¨
pskc_get_key_policy_pinencoding β an API function from libpskc that gets the PSKC KeyPackage Key Policy PINPolicy PINEncoding value. Bestie, itβs giving βread this one tiny fieldβ energy. π
π¦ SYNOPSIS π¦
Include this header, then call it like so:
#include <pskc.h>
pskc_valueformat pskc_get_key_policy_pinencoding(pskc_key_t * key, int *
present);
π ARGUMENTS π
pskc_key_t * keyβ apskc_key_thandle, frompskc_get_keypackage(). Your main-character key package, basically. πint * presentβ output variable indicating whether data was provided or not. Itβs the little βwas this even here?β bestie. π
πΈ DESCRIPTION πΈ
Get the PSKC KeyPackage Key Policy PINPolicy PINEncoding value. This attribute indicates the encoding of the PIN and MUST be one of the pskc_valueformat values. No cap, thatβs a hard requirement β it has to be one of those values. π¨
If present is non-NULL, it will be 0 if the field is not present or 1 if it was present. So itβs your lil presence check, and it understood the assignment. π
β RETURNS β
an pskc_valueformat value β¨ β thatβs the whole return vibe.
π 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. Yes, keep the notice, bestie β itβs the whole license vibe. π
footer shoutout: libpskc, version 2.6.15, page pskc_get_key_policy_pinencoding(3) β no date in this footer, so Iβm not inventing one, periodt ππβ¨
π¦ 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