shishi_kdcrep_add_enc_part(3)
β¨ 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 byshishi_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 ofSHISHI_KEYUSAGE_ENCASREPPART,SHISHI_KEYUSAGE_ENCTGSREPPART_SESSION_KEY, orSHISHI_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>. π
- GNU Shishi home page:
http://www.gnu.org/software/shishi/ - General help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
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 πππ¦
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms