shishi_kdcrep_add_enc_part(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_kdcrep_add_enc_part ✨

okay bestie, welcome to the shishi_kdcrep_add_enc_part(3) page β€” it's part of the shishi manual and honestly? it's giving "tiny function, big responsibility." πŸŽ€


πŸ’– NAME πŸ’–

shishi_kdcrep_add_enc_part β€” an API function, and yes she does exactly what the name says 🫢


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_kdcrep_add_enc_part(Shishi * handle, Shishi_asn1 kdcrep,
       Shishi_key * key, int keyusage, Shishi_asn1 enckdcreppart);

like, look at her. five arguments, one job. main character energy fr fr πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” the shishi handle, as allocated by shishi_init(). you know, the whole setup. no handle, no vibes πŸ’…
  • Shishi_asn1 kdcrep β€” the KDC-REP you're adding the enc-part field to. this is where the magic lands ✨
  • Shishi_key * key β€” the key used to encrypt enc-part. literally the lock, bestie πŸ”
  • int keyusage β€” the key usage to use. normally it's one of SHISHI_KEYUSAGE_ENCASREPPART, SHISHI_KEYUSAGE_ENCTGSREPPART_SESSION_KEY, or SHISHI_KEYUSAGE_ENCTGSREPPART_AUTHENTICATOR_KEY. pick your fighter πŸ₯Š
  • Shishi_asn1 enckdcreppart β€” the EncKDCRepPart to add. the guest of honour, arriving now 🌈

πŸ’œ DESCRIPTION πŸ’œ

So basically: she encrypts the DER encoded EncKDCRepPart using key and stores it in the KDC-REP. that's it. that's the whole thing. clean, simple, iconic. no notes. ⭐


πŸ”₯ RETURN VALUE πŸ”₯

Returns SHISHI_OK iff successful. iff β€” that's not a typo, that's the math-girl "if and only if," and she means it 😭


😭 REPORTING BUGS 😭

Found a bug? first of all, rude to her, second of all, 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. periodt. πŸ’…


🧚 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 πŸ“–βœ¨


no cap: read the Texinfo manual before you start guessing at things, bestie. she contains multitudes πŸ’–

and that's a wrap!! this page came to you courtesy of the shishi manual, version 1.0.3 β€” mwah, stan her, bye bye πŸŽ€πŸ’œπŸ¦‹