summaryrefslogtreecommitdiff
path: root/doc/gnutls.texi
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2009-11-01 11:19:23 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2009-11-01 11:29:20 +0200
commit4d5f721b3735743a60e9e6af6a605d9ce4c9e6c3 (patch)
treeebfcf0cbf66feaf3005b2500136947757f34ea4e /doc/gnutls.texi
parent6773d2ddb01d86fa283ce154b419e989916ab3f7 (diff)
downloadgnutls-4d5f721b3735743a60e9e6af6a605d9ce4c9e6c3.tar.gz
Final touch on signature algorithms in TLS 1.2 support. Added function gnutls_session_sign_algorithm_get_requested()
for callbacks to be able to verify they return a correct certificate as well as documentation for its usage.
Diffstat (limited to 'doc/gnutls.texi')
-rw-r--r--doc/gnutls.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/gnutls.texi b/doc/gnutls.texi
index 5f168c56c8..422be26c57 100644
--- a/doc/gnutls.texi
+++ b/doc/gnutls.texi
@@ -1314,6 +1314,11 @@ callback can be set using the functions:
@end itemize
+Clients and servers that will select certificates using callback
+functions should select a certificate according the peer's signature
+algorithm preferences. To get those preferences use
+@ref{gnutls_session_sign_algorithm_get_requested}.
+
Certificate verification is possible by loading the trusted
authorities into the credentials structure by using
@ref{gnutls_certificate_set_x509_trust_file} or