SHISHI_AUTHENTICATOR_AUTHORIZATIONDATA(3)
π NAME π
shishi_authenticator_authorizationdata β okay bestie, this is an API function, and it's the one that pulls authorization data out of an authenticator. That's the whole vibe. Periodt. β¨
(It lives in the shishi manual, section 3, so if you see shishi_authenti...thorizationdata(3) floating around, that's literally her. π
)
π SYNOPSIS π
#include <shishi.h>
int shishi_authenticator_authorizationdata(Shishi * handle, Shishi_asn1
authenticator, int32_t * adtype, char ** addata, size_t * addatalen,
size_t nth);
β¨ ARGUMENTS β¨
Shishi * handleβ your shishi handle, as allocated byshishi_init(). She's the main character, everything goes through her. πShishi_asn1 authenticatorβ the authenticator, as allocated byshishi_authenticator(). Yes, you have to make one first, no skipping steps bestie. π¦int32_t * adtypeβ output authorization data type. She gets written to, she does not get read from, okay? πchar ** addataβ newly allocated output authorization data. Newly allocated, meaning somebody's gotta free that later, not me tho. πsize_t * addatalenβ on output, the actual size of that newly allocated authorization data. She tells you how big the thing you just got is. πsize_t nthβ the element number of the authorization-data you wanna extract. So which one, bestie. Pick one. πΈ
π₯ EXTRACT NTH AUTHORIZATION DATA FROM AUTHENTICATOR π₯
Extract nth authorization data from authenticator. The first field is 1.
Lowkey important: it's 1-indexed, not 0-indexed. So "the first one" is1, not0. Don't come at me, that's just how she is. π
π RETURN VALUE π
Returns SHISHI_OK iff successful. That's it, that's the whole return value situation. If you see SHISHI_OK, you ate. π₯
π REPORTING BUGS π
Found a bug? Report it to <bug-shishi@gnu.org>. Not me, I'm just the messenger. π
- GNU Shishi home page:
http://www.gnu.org/software/shishi/ - General help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
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. Go read it, it's giving β¨educatedβ¨.
And that's a wrap, bestie! This page ships with shishi, version 1.0.3, from the shishi source β that's the whole footer situation, no date drama, just version 1.0.3 doing her thing. Mwah. π
π
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms