shishi_enckdcr...e_encticketpart(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

✨ NAME ✨

shishi_enckdcreppart_populate_encticketpart β€” bestie, this is an API function, and it's here to copy a whole lil' bundle of fields over for you πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

int shishi_enckdcreppart_populate_encticketpart(Shishi * handle,
       Shishi_asn1 enckdcreppart, Shishi_asn1 encticketpart);

🌸 ARGUMENTS 🌸

  • Shishi * handle β€” the shishi handle you got from shishi_init(), like the little ID badge that lets you into the building 🫢
  • Shishi_asn1 enckdcreppart β€” an input EncKDCRepPart variable. yes it's a whole word. yes you can say it out loud. no it will not be quick.
  • Shishi_asn1 encticketpart β€” an input EncTicketPart variable. the other one. the source of the vibes ✨

πŸ’– DESCRIPTION πŸ’–

okay so picture this: you've got an EncTicketPart that's already serving, and an EncKDCRepPart that's looking a little empty inside 😭 Not for long, bestie.

This function sets these fields of the EncKDCRepPart:

  • flags
  • authtime
  • starttime
  • endtime
  • renew-till
  • caddr

...and it sets each of them to the corresponding value in the EncTicketPart. that's it. that's the whole job. no drama, no surprises, just a clean little copy-over. it's giving "matched set" πŸŽ€


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. (yes, iff. the math-people spelling. we love a precise queen πŸ‘‘)


πŸ”₯ REPORTING BUGS πŸ”₯

Found a bug? Spill the tea, don't sit on it β€” report bugs 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 yes, go forth, share responsibly, 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 β€” go read the whole thing, it's the main character for a reason 🧚


and that's the page, bestie ✨ this was shishi 1.0.3, page shishi_enckdcr...e_encticketpart(3) β€” go populate those fields, slay, periodt πŸ’–πŸŽ€πŸ¦‹