logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

gnutls_x509_crt_set_name_constraints - API function

Arguments

gnutls_x509_crt_t crt The certificate gnutls_x509_name_constraints_t nc The nameconstraints structure unsigned int critical whether this extension will be critical

Description

This function will set the provided name constraints to the certificate extension list. This extension is always marked as critical.

Name

gnutls_x509_crt_set_name_constraints - API function

Reporting Bugs

Report bugs to <bugs@gnutls.org>. Home page: https://www.gnutls.org

Returns

On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.

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/ gnutls 3.8.9 gnutls_x509_crt_set_name_constraints(3)

Since

3.3.0

Synopsis

#include<gnutls/x509.h>intgnutls_x509_crt_set_name_constraints(gnutls_x509_crt_tcrt,gnutls_x509_name_constraints_tnc,unsignedintcritical);

See Also