shishi_der2asn1_krberror(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_der2asn1_krberror ✨

okay so bestie, welcome to the shishi manual page for shishi_der2asn1_krberror β€” yes it's a long name, yes it's an API function, and yes we're gonna get through it together πŸ’–


🌸 SYNOPSIS 🌸

#include <shishi.h>

Shishi_asn1 shishi_der2asn1_krberror(Shishi * handle, const char * der,
       size_t derlen);

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). like, the whole vibe starts here, no handle no party.
  • const char * der β€” the input character array holding the DER encoding. that's the raw material, the little byte buffet πŸ“
  • size_t derlen β€” how long that input character array with the DER encoding actually is. gotta know the size, periodt.

πŸ¦‹ DESCRIPTION πŸ¦‹

So what this does is: it decodes the DER encoding of KRB-ERROR, and then it creates an ASN.1 structure for you. that's the whole thing. decode in, structure out, iconic behaviour honestly πŸ‘‘


πŸ’œ RETURN VALUE πŸ’œ

It returns the ASN.1 structure that corresponds to the DER data. that's your prize, bestie 🎁


😭 REPORTING BUGS 😭

Found a bug? don't suffer in silence, tell the people:


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.


🌈 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 πŸ’…


and that's a wrap on this one, my love 🫢 this page lives in the shishi manual, version 1.0.3 β€” go forth and decode those KRB-ERRORs, you absolute legend ✨