gnutls_privkey_set_flags(3)

gnutls_privkey_set_flags3

Api function

Usage

#include <gnutls/abstract.h>

void gnutls_privkey_set_flags(gnutls_privkey_t key, unsigned int flags);

Arguments

gnutls_privkey_t key

A key of type gnutls_privkey_t

unsigned int flags

flags from the gnutls_privkey_flags

Overview

This function will set flags for the specified private key, after it is generated. Currently this is useful for the GNUTLS_PRIVKEY_FLAG_EXPORT_COMPAT to allow exporting a "provable" private key in backwards compatible way.

Since

3.5.0

Releases

6 releases since Debian 9 (Stretch); the text changed 5 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

Reporting bugs

Report bugs to <[email protected]>.
Home page: https://www.gnutls.org

From gnutls 3.8.13-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.