gnutls_pkcs_schema_get_oid(3)

πŸ’– gnutls_pkcs_schema_get_oid(3) πŸ’–

okay bestie, welcome to the gnutls manual β€” yes, the whole thing, and yes, we're doing this one together 🫢


✨ NAME ✨

gnutls_pkcs_schema_get_oid β€” it's an API function, periodt.


🌸 SYNOPSIS 🌸

#include <gnutls/x509.h>

const char * gnutls_pkcs_schema_get_oid(unsigned int schema);

πŸŽ€ ARGUMENTS πŸŽ€

  • unsigned int schema β€” this is where you hand over the PKCS 12 or PBES2 schema you want the OID for. and like, its actual type is gnutls_pkcs_encrypt_flags_t, iykyk πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

so the way that this function works is genuinely so simple: you give it a schema, and it literally returns the object identifier of that PKCS12 or PBES2 schema. that's it. that's the whole job. no cap. ✨


πŸ’œ RETURNS πŸ’œ

it gives you back a constraint string β€” or NULL if something went wrong 😭


⭐ SINCE ⭐

3.4.0 β€” she's been iconic for a while, fr fr πŸ‘‘


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? not me gatekeeping, please tell the devs:


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, and also legally binding 🫢


πŸ‘‘ 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/

πŸ’€ reminder: this page is from the gnutls manual, version 3.8.13 β€” go off and read the rest, bestie, the full docs are right there πŸ§šβ€β™€οΈπŸŒΈ
πŸ“¦ where this page comes from