shishi_as_req_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_req_der_set(3) ✨

okay bestie, welcome to the shishi section 3 manual, and today's main character is shishi_as_req_der_set πŸŽ€ she's a little function, she does one job, and she does it flawlessly. no cap.


🌸 NAME 🌸

shishi_as_req_der_set β€” literally an API function πŸ’… that's it, that's the whole name section


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

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

look at her. three args. returns an int. iconic. πŸ‘‘


πŸ’– ARGUMENTS πŸ’–

  • Shishi_as * as β€” this is the structure that holds all the info about the AS exchange. she's the container, the vibe holder, the main character's dressing room. 🫢
  • char * der β€” an input array stuffed with a DER encoded AP-REQ. yes bestie, the bytes go here. πŸ“
  • size_t derlen β€” the length of that input array with the DER encoded AP-REQ. because we gotta know how many bytes we're working with, obviously. πŸ“

🌈 DESCRIPTION 🌈

so here's the tea β˜•: this function DER decodes the AS-REQ and sets it into the AS exchange. that's the whole plot. 🎬

and if the decoding fails? 😭 the AS-REQ in the AS exchange stays exactly where it is. nothing gets clobbered. no mess. she just politely doesn't do the thing. periodt.

⭐ RETURN VALUE ⭐

Returns SHISHI_OK. that's it. that's the return value. slay. πŸ’…βœ¨


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? not me being the bearer of bad news but β€” report it to <bug-shishi@gnu.org>. πŸ“§

go off, tell them everything, they wanna know. 🫢


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.

(translation: take it, share it, remix it, just keep the receipts bestie πŸ§ΎπŸ’œ)


πŸ”₯ 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.


okay and that's a wrap on the shishi_as_req_der_set(3) page!! πŸŽ€ this little beauty shipped as part of shishi 1.0.3 🌸 β€” go forth, decode your DER, and stay iconic. mwah πŸ’‹πŸ’–πŸ¦‹