shishi_der2asn1_encapreppart(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_encapreppart πŸ’–

okay bestie, so this is a page from the shishi manual β€” it's manual section 3, the library-functions girlies. and the function we're hyping up today is literally called shishi_der2asn1_encapreppart. yes that's a mouthful, yes it ate, moving on ✨


🌸 NAME 🌸

shishi_der2asn1_encapreppart β€” it's an API function, no cap 🫢


✨ SYNOPSIS ✨

#include <shishi.h>

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

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” the shishi handle, bestie. and where do you get one? as allocated by shishi_init(). you don't just make one up, okay πŸ’…
  • const char * der β€” input character array with DER encoding. that's the raw bytes you're feeding in 🌸
  • size_t derlen β€” the length of that input character array with DER encoding. yes you gotta tell it how long it is, it's not psychic πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

Decode the DER encoding of EncAPRepPart and create an ASN.1 structure. that's it, that's the whole vibe. der goes in, ASN.1 comes out, main character energy all around πŸ”₯


πŸ‘‘ RETURN VALUE πŸ‘‘

Returns the ASN.1 structure corresponding to the DER data. literally what you asked for, delivered πŸ’–


πŸ’€ REPORTING BUGS πŸ’€

found a bug? not me gatekeeping β€” 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. (iconic, honestly β€” free to share, 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 πŸ“–βœ¨


and that's the tea, bestie β€” go forth and decode your EncAPRepPart πŸ’…

this was page shishi_der2asn1_encapreppart(3) from shishi, version 1.0.3 β€” mwah, take care of her πŸŽ€πŸ’œ