gnutls_pubkey_set_key_usage (3) Linux Manual Page
NAME gnutls_pubkey_set_key_usage – API function SYNOPSIS #include <gnutls/abstract.h> int gnutls_pubkey_set_key_usage(gnutls_pubkey_t key, unsigned int usage); ARGUMENTS gnutls_pubkey_t key a certificate of type gnutls_x509_crt_t unsigned int usage an ORed sequence of the GNUTLS_KEY_* elements. DESCRIPTION This function will set the key usage flags of the public key. This is only useful if the key is to be…
