pskc_get_key_policy_pinminlength(3)

πŸ’– pskc_get_key_policy_pinminlength(3) πŸ’–

hiii bestie 🫢 welcome to a little libpskc moment β€” this is the manual page for pskc_get_key_policy_pinminlength(3), and yes she is giving very specific PIN-policy energy. ✨


🌸 NAME 🌸

pskc_get_key_policy_pinminlength β€” API function

✨ SYNOPSIS ✨

#include <pskc.h>

uint32_t pskc_get_key_policy_pinminlength(pskc_key_t * key, int *
present);

πŸŽ€ ARGUMENTS πŸŽ€

  • pskc_key_t * key β€” a pskc_key_t handle, from pskc_get_keypackage(). πŸ’…
  • int * present β€” output variable indicating whether data was provided or not. πŸ‘€

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function gets the PSKC KeyPackage Key Policy PINPolicy MinLength value. no cap, that’s the whole quest. 🧚

This attribute indicates the minimum length of a PIN that can be set to protect the associated key. and bestie, listen:

⚠️ It MUST NOT be possible to set a PIN shorter than this value. periodt. 🚨

If the 'PINFormat' attribute is set to 'DECIMAL', 'HEXADECIMAL', or 'ALPHANUMERIC', this value indicates the number of digits/ characters. πŸ”’

If the 'PINFormat' attribute is set to 'BASE64' or 'BINARY', this value indicates the number of bytes of the unencoded value. 🧬

If present is non-NULL, it will be 0 if the field is not present or 1 if it was present. literally the vibes check for β€œdid we get data?” βœ…

πŸ’– RETURNS πŸ’–

an integer holding the content. that’s it, that’s the return. πŸ’Œ

πŸ› 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 Β© 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.


okay that’s the whole page, bestie β€” footer tea is libpskc version 2.6.15, and we’re out πŸ’…πŸ«ΆπŸŒΈ

πŸ“¦ where this page comes from