summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_x509_tlsfeatures_check_crt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_x509_tlsfeatures_check_crt')
-rw-r--r--doc/functions/gnutls_x509_tlsfeatures_check_crt17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/functions/gnutls_x509_tlsfeatures_check_crt b/doc/functions/gnutls_x509_tlsfeatures_check_crt
new file mode 100644
index 0000000..04ce44e
--- /dev/null
+++ b/doc/functions/gnutls_x509_tlsfeatures_check_crt
@@ -0,0 +1,17 @@
+
+
+
+
+@deftypefun {unsigned} {gnutls_x509_tlsfeatures_check_crt} (gnutls_x509_tlsfeatures_t @var{feat}, gnutls_x509_crt_t @var{cert})
+@var{feat}: a set of TLSFeatures
+
+@var{cert}: the certificate to be checked
+
+This function will check the provided certificate against the TLSFeatures
+set in @code{feat} using the RFC7633 p.4.2.2 rules. It will check whether the certificate
+contains the features in @code{feat} or a superset.
+
+@strong{Returns:} non-zero if the provided certificate complies, and zero otherwise.
+
+@strong{Since:} 3.5.1
+@end deftypefun