shishi_apreq_add_authenticator(3)
π NAME π
shishi_apreq_add_authenticator β bestie, it's an API function β¨ (from the shishi manual, section 3, iykyk)
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_apreq_add_authenticator(Shishi * handle, Shishi_asn1 apreq,
Shishi_key * key, int keyusage, Shishi_asn1 authenticator);
π ARGUMENTS π
Shishi * handleβ the shishi handle, and no you can't just make one up, it's gotta come fromshishi_init(). periodt.Shishi_asn1 apreqβ the AP-REQ you're adding the authenticator field to. this is the main character of the whole operation, lowkey.Shishi_key * keyβ the key you're gonna use for encryption. (the original says "key to to use for encryption" and honestly? relatable typo energy, but I'm telling you it's the encryption key π )int keyusageβ the cryptographic key usage value that goes into the encryption. yes it matters, no you can't skip it.Shishi_asn1 authenticatorβ the authenticator itself, and it's gotta be allocated byshishi_authenticator()first or it's not valid.
β¨ DESCRIPTION β¨
Okay so here's the tea π«: this function takes your DER encoded authenticator, encrypts it using key, and stores the result in the AP-REQ. That's it. That's the whole vibe. slay.
π₯ RETURN VALUE π₯
Returns SHISHI_OK iff it worked. if you get anything else, something went sideways, bestie π
π REPORTING BUGS π
Found a bug? Not me gatekeeping β report it to <bug-shishi@gnu.org> fr fr.
- 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. (generous king behavior, 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 it, it's giving encyclopedia but make it cute.
and that's a wrap, bestie π this page is from shishi 1.0.3, the shishi_apreq_add_authenticator(3) manual page. take care of her, she's iconic πβ¨
π¦ 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