gnutls_x509_crt_set_flags(3)

gnutls_x509_crt_set_flags3

Api function

Usage

#include <gnutls/x509.h>

void gnutls_x509_crt_set_flags(gnutls_x509_crt_t cert, unsigned int flags);

Arguments

gnutls_x509_crt_t cert

A type gnutls_x509_crt_t

unsigned int flags

flags from the gnutls_x509_crt_flags

Overview

This function will set flags for the specified certificate. Currently this is useful for the GNUTLS_X509_CRT_FLAG_IGNORE_SANITY which allows importing certificates even if they have known issues.

Since

3.6.0

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. 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.