shishi_der2asn1_ticket(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_ticket πŸ’–

okay bestie, welcome to the shishi manual, section 3, and today's main character is shishi_der2asn1_ticket β€” an API function, no cap. sit down, grab a strawberry, we're doing this. πŸ“


✨ NAME ✨

shishi_der2asn1_ticket β€” it's an API function, that's the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

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

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” your shishi handle, bestie. the one you got from shishi_init(). don't show up without it. πŸ™ˆ
  • const char * der β€” the input character array that's holding the DER encoding. it's giving ✨encoded✨.
  • size_t derlen β€” the length of that input character array with the DER encoding. yes queen, we need the length, we're not psychic. 😭

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does it DO? it decodes the DER encoding of a Ticket and creates an ASN.1 structure out of it. that's it. that's the whole thing. lowkey iconic, highkey useful. πŸ”₯


πŸ‘‘ RETURN VALUE πŸ‘‘

it returns the ASN.1 structure that corresponds to your DER data. periodt. πŸ’…


😭 REPORTING BUGS 😭

found a bug? not me gatekeeping the email β€” send 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 basically: go off, redistribute 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. ✨


friendly reminder bestie: this is the shishi manual, version 1.0.3, page shishi_der2asn1_ticket(3) β€” and that's the whole thing. mwah. πŸ’–πŸ¦‹πŸŽ€