shishi_enckdcreppart_key_set(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

πŸ’– shishi_enckdcreppart_key_set πŸ’–

okay bestie, so this one lives in the shishi manual, section 3 (that's the library-functions section, iykyk), and it's literally the glow-up moment for a EncKDCRepPart.key field. let's get into it 🫢


✨ NAME ✨

shishi_enckdcreppart_key_set β€” an API function, and yes she is serving exactly one job πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_enckdcreppart_key_set(Shishi * handle, Shishi_asn1
enckdcreppart, Shishi_key * key);

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” the shishi handle, aka the one you got from shishi_init(). she's the main character, everything routes through her.
  • Shishi_asn1 enckdcreppart β€” an input EncKDCRepPart variable. this is the thing we're about to bless with key info.
  • Shishi_key * key β€” a key handle carrying the information that's gonna get stored into enckdcreppart. it's giving "delivery driver for secrets" πŸ”₯

πŸ¦‹ DESCRIPTION πŸ¦‹

so what she does is: set the EncKDCRepPart.key field to the key type and value of the supplied key. that's it. that's the whole vibe. supply a key, she writes its type and value into that field. no cap, no side quests πŸ’–


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. that's the good ending, the slay ending 🌈


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? not cute. report it to <bug-shishi@gnu.org>.


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. (iconic of them honestly, very generous, we love to see it πŸ’œ)


πŸ’€ 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. go read the whole thing bestie, she's thorough πŸ“šβœ¨


okay and that's a wrap on shishi_enckdcreppart_key_set(3), brought to you by shishi version 1.0.3 from the shishi manual, section 3 πŸŽ€ thanks for coming to my ted talk, mwah πŸ’…πŸ’–