gnutls_pkcs12_verify_mac(3)
β¨ gnutls_pkcs12_verify_mac β¨
okay bestie, welcome to the gnutls manual π this one's a little function with a big job: checking that your PKCS12 situation is actually legit and not a vibe-ruining forgery. let's get into it π«Ά
πΈ NAME πΈ
gnutls_pkcs12_verify_mac β it's an API function, and honestly? it's giving security guard energy π
π¦ SYNOPSIS π¦
#include <gnutls/pkcs12.h>
int gnutls_pkcs12_verify_mac(gnutls_pkcs12_t pkcs12, const char * pass);
π ARGUMENTS π
gnutls_pkcs12_t pkcs12β should contain agnutls_pkcs12_ttype. yes, the arg is the same type as the type, we love a self-consistent icon πconst char * passβ the password for the MAC. π keep it cute, keep it secret, fr fr.
π DESCRIPTION π
This function will verify the MAC for the PKCS12 structure. π΅οΈββοΈβ¨
that's it, that's the whole thing. it checks the message authentication code on your PKCS12 structure and tells you whether it's real or sus. no cap.
π RETURNS π
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. so if you get a 0, she ate, periodt. π₯ if it's negative, something's off and you're gonna wanna read the error, bestie π
π REPORTING BUGS π
found a bug? not the vibe, but okay, report it to <bugs@gnutls.org>. π§
Home page: https://www.gnutls.org
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
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. slay, very generous of them π
π§ SEE ALSO π§
The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit
https://www.gnutls.org/manual/
iykyk, the manual is right there waiting for you π¦
ngl, this is a small page for a small function, but MAC verification is highkey important β never skip it, that's main character energy for your security πβ¨
okay that's the whole page!! this was gnutls version 3.8.13, manual page gnutls_pkcs12_verify_mac(3). mwah, bye bestie, go verify those MACs π
ππ
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms