shishi_encprivpart_set_user_data(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

shishi_encprivpart_set_user_data β€” it's the lil API function that tucks your app data into a PRIV πŸŽ€ (this is page 3 of the shishi manual, bestie, section 3 energy only)


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_encprivpart_set_user_data(Shishi * handle, Shishi_asn1
encprivpart, const char * userdata, size_t userdatalen);

okay so you're gonna #include <shishi.h> first, obviously, and then you call the whole thing. four args. she's not complicated, she's just specific πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). she's the main character, everything runs through her πŸ‘‘
  • Shishi_asn1 encprivpart β€” the encprivpart you got from shishi_priv(). this is the container we're filling up, no cap
  • const char * userdata β€” the input user application that you wanna store in PRIV. yes, "application" here means application data, not an app store situation 😭
  • size_t userdatalen β€” the size of that input user application you're storing in PRIV. gotta tell her how much there is, she can't read minds πŸ’€

πŸ’– DESCRIPTION πŸ’–

Set the application data in PRIV.

that's literally it. that's the whole vibe. you hand her the data, she puts it in PRIV, everyone moves on with their lives 🌈


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. that's the only good outcome, periodt. anything else and something went sideways πŸ™ˆ


🫢 REPORTING BUGS 🫢

found a bug? not me gatekeeping that. report it to <bug-shishi@gnu.org> πŸ’Œ

GNU Shishi home page: http://www.gnu.org/software/shishi/

General help using GNU software: http://www.gnu.org/gethelp/


Copyright Β© 2002-2022 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.

like. iconic of them honestly. free to copy, just keep the receipts 🧚


πŸ’œ SEE ALSO πŸ’œ

The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command

info shishi

should give you access to the complete manual. iykyk β€” that's where the deep lore lives πŸ“š


that's the whole page bestie, stay hydrated and may your return values always be SHISHI_OK πŸ’…βœ¨

this was shishi version 1.0.3 β€” page shishi_encprivpart_set_user_data(3) β€” from the shishi manual, mwah πŸ¦‹