GNUTLS_X509_CRL_SET_AUTHORITY_KEY_ID(3)

πŸ’– gnutls_x509_crl_set_authority_key_id(3) πŸ’–

okay bestie, so this one lives in the gnutls manual and it's literally the glow-up your CRL's authority key ID has been waiting for ✨ let's get into it.


✨ NAME ✨

gnutls_x509_crl_set_authority_key_id β€” it's an API function, and it's giving "set the authority key ID on a CRL" πŸŽ€


🌸 SYNOPSIS 🌸

#include <gnutls/x509.h>

int gnutls_x509_crl_set_authority_key_id(gnutls_x509_crl_t crl, const
                                         void * id, size_t id_size);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_x509_crl_t crl β€” a CRL of type gnutls_x509_crl_t, aka your main character, the thing we're editing πŸ’…
  • const void * id β€” The key ID. that's it, that's the vibe πŸ—οΈ
  • size_t id_size β€” Holds the size of the serial field. yes, we're measuring. always measure πŸ”₯

πŸ‘‘ DESCRIPTION πŸ‘‘

This function will set the CRL's authority key ID extension. Periodt.

Only the keyIdentifier field can be set with this function β€” so don't come at it expecting the whole extension, bestie, it does one thing and it does it well πŸ™ˆ

It may be used by an authority that holds multiple private keys, to distinguish the used key. like, which key was it?? mystery solved πŸ’…βœ¨


⭐ RETURNS ⭐

On success, GNUTLS_E_SUCCESS (0) is returned πŸŽ‰ otherwise a negative error value 😭 (so like, check it. fr fr.)


🌈 SINCE 🌈

2.8.0 β€” she's been iconic since 2.8.0, we stan a legacy queen πŸ‘‘


πŸ’€ REPORTING BUGS πŸ’€

Found a bug? not me manifesting that, but if you did:


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. (yes, no royalty, it's free, go off πŸ“)


🧚 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/

like, go read it, iykyk πŸ“–πŸ’œ


gnutls version 3.8.13, and that's the whole page, bestie πŸ’– go set that authority key ID and slay, mwah πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from