diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-03-13 18:43:49 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-03-13 18:44:59 +0100 |
commit | b324a304e0e6c48b300abc91bfb4862c31a39f25 (patch) | |
tree | 2c9940c21944707f0cbccb454be0cf1e57fac617 /doc/cha-cert-auth.texi | |
parent | cdcb458991053a9a972ddf2f9e2cd3fca3c96dd6 (diff) | |
download | gnutls-b324a304e0e6c48b300abc91bfb4862c31a39f25.tar.gz |
Documentation updates
Diffstat (limited to 'doc/cha-cert-auth.texi')
-rw-r--r-- | doc/cha-cert-auth.texi | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/cha-cert-auth.texi b/doc/cha-cert-auth.texi index 30fb7caa30..cb79a7d4c5 100644 --- a/doc/cha-cert-auth.texi +++ b/doc/cha-cert-auth.texi @@ -253,13 +253,12 @@ This purpose is served by the functions @funcref{gnutls_x509_trust_list_add_name @cindex verifying certificate paths @tindex gnutls_certificate_verify_flags -When operating in the context of a TLS session, the trusted certificate +When operating in the context of a TLS session, if the trusted certificate authority list has been set via the @funcref{gnutls_certificate_set_x509_trust_file} and @funcref{gnutls_certificate_set_x509_crl_file}, -thus it is not required to setup a trusted list as above. -Convenience functions such as @funcref{gnutls_certificate_verify_peers2} -are equivalent and will verify the peer's certificate chain -in a TLS session. +it is not required to setup a trusted list as above. +The function @funcref{gnutls_certificate_verify_peers2} +may then be used to verify the peer's certificate chain. There is also the possibility to pass some input to the verification functions in the form of flags. For @funcref{gnutls_x509_trust_list_verify_crt} the |