gnutls_pkcs11_obj_get_exts3
Api function
Arguments
- gnutls_pkcs11_obj_t obj
-
should contain a
gnutls_pkcs11_obj_ttype
- gnutls_x509_ext_st ** exts
-
a pointer to a
gnutls_x509_ext_stpointer
- unsigned int * exts_size
-
will be updated with the number of exts
- unsigned int flags
-
Or sequence of
GNUTLS_PKCS11_OBJ_* flags
Overview
This function will return information about attached extensions that associate to the provided object (which should be a certificate). The extensions are the attached p11-kit trust module extensions.
Each element of exts must be deinitialized using gnutls_x509_ext_deinit() while exts should be deallocated using gnutls_free().
Returns
GNUTLS_E_SUCCESS (0) on success or a negative error code on error.
Since
3.3.8
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie)
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)
- Debian 8 (Jessie)