shishi_as_rep_der_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_as_rep_der_set(3) πŸ’…

okay so bestie, welcome to the shishi corner of the man pages ✨ this one is all about shishi_as_rep_der_set, an API function, and ngl it's a lil cutie. sit down, grab a boba, we're decoding stuff πŸ§‹πŸ¦‹


🌸 NAME 🌸

shishi_as_rep_der_set β€” it's an API function, periodt πŸ’–


✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_as_rep_der_set(Shishi_as * as, char * der, size_t derlen);

like, that's the whole vibe. three args, one int back, no drama πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi_as * as β€” the structure that holds all the info about the AS exchange. she's the main character, she carries the whole thing πŸ‘œβœ¨
  • char * der β€” input array stuffed with a DER encoded AP-REP. yes bestie, it's giving bytes 🌈
  • size_t derlen β€” the length of that input array with the DER encoded AP-REP. we gotta know how much we're working with, fr fr πŸ“

πŸ’– DESCRIPTION πŸ’–

So what's the tea? It DER decodes the AS-REP and sets it into the AS exchange. that's it, that's the whole job, and she ate πŸ”₯

lowkey important caveat: if the decoding fails, the AS-REP in the AS exchange remains. like, it stays exactly as it was. no half-updated mess, no chaos, she just doesn't touch it πŸ™ˆ

🌟 RETURN VALUE 🌟

Returns SHISHI_OK. that's it. that's the return. iconic behavior honestly πŸ‘‘


πŸ› REPORTING BUGS πŸ›

found a bug? don't suffer in silence bestie, 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. so like, go off, share it, remix it, 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 πŸ“–πŸ’…


shishi version 1.0.3, page shishi_as_rep_der_set(3) β€” mwah, that's a wrap bestie, go decode something gorgeous πŸ¦‹πŸ’–βœ¨πŸŽ€