summaryrefslogtreecommitdiff
path: root/doc/examples/ex-client-x509.c
Commit message (Collapse)AuthorAgeFilesLines
* renamed the auto-verification functionsNikos Mavrogiannopoulos2015-09-051-1/+1
| | | | The names are more consistent with the rest of the library.
* examples: simplify the X.509 client example by using the new verification APINikos Mavrogiannopoulos2015-08-241-70/+20
|
* Fix a few compiler warnings about unused variablesJiří Klimeš2015-03-281-0/+2
| | | | | | [-Wunused-variable] Signed-off-by: Jiří Klimeš <jklimes@redhat.com>
* examples: mention that gnutls_global_init() is optionalNikos Mavrogiannopoulos2014-07-061-1/+2
|
* use gnutls_set_default_priority() in examples.Nikos Mavrogiannopoulos2014-05-111-1/+5
|
* Replaced gnutls_certificate_verify_peers3() with the extendable ↵Nikos Mavrogiannopoulos2014-04-091-2/+22
| | | | | | | gnutls_certificate_verify_peers(). That will allow adding new functionality to verification without the need to add new functions.
* Added gnutls_certificate_verify_peers4 which will verify in addition to ↵Nikos Mavrogiannopoulos2014-04-081-1/+3
| | | | hostname, the purpose of the end-certificate.
* do not set the SYSTEM priority string by default in examples (not yet).Nikos Mavrogiannopoulos2014-01-251-5/+1
|
* Introduced GNUTLS_DEFAULT_PRIORITY macroNikos Mavrogiannopoulos2014-01-151-5/+4
|
* use default priorities based on version number in examples, and add ↵Nikos Mavrogiannopoulos2014-01-141-1/+12
| | | | dependency on 3.1.0
* changes in SYSTEM semantics to allow appending rules to the default policy.Nikos Mavrogiannopoulos2014-01-141-1/+1
|
* reindented codeNikos Mavrogiannopoulos2013-11-081-152/+140
|
* Added gnutls_session_get_desc()Nikos Mavrogiannopoulos2013-03-121-1/+5
|
* Added convenience functions to avoid ugly casting in simple programs.Nikos Mavrogiannopoulos2013-02-161-1/+1
|
* doc fixNikos Mavrogiannopoulos2013-01-061-1/+1
|
* better code in client and server examplesNikos Mavrogiannopoulos2012-12-281-4/+11
|
* corrected verification examplesNikos Mavrogiannopoulos2012-11-111-0/+3
|
* Added gnutls_certificate_verification_status_print().Nikos Mavrogiannopoulos2012-10-301-14/+10
| | | | This function simplifies printing the certificate verification status.
* Simplified certificate verification by adding ↵Nikos Mavrogiannopoulos2012-10-301-40/+1
| | | | | | gnutls_certificate_verify_peers3(). This function combines the RFC2818 hostname check and chain verification check.
* The session ticket and OCSP certificate status extensions are enabled by ↵Nikos Mavrogiannopoulos2012-10-081-4/+0
| | | | | | | | default. In client side gnutls_init() enables the session ticket and OCSP certificate status request extensions by default. The flag GNUTLS_NO_EXTENSIONS can be used to prevent that.
* enable useful extensions in the examples.Nikos Mavrogiannopoulos2012-10-041-1/+6
|
* gnutls_handshake_timeout() -> gnutls_handshake_set_timeout()Nikos Mavrogiannopoulos2012-08-071-1/+2
|
* Added gnutls_handshake_timeout().Nikos Mavrogiannopoulos2012-08-061-1/+1
|
* updated docNikos Mavrogiannopoulos2012-05-251-6/+6
|
* Be more conservative with examples and changed semantics of ↵Nikos Mavrogiannopoulos2012-05-221-6/+3
| | | | gnutls_certificate_set_x509_system_trust(). gnutls_certificate_set_x509_system_trust() returns GNUTLS_E_UNIMPLEMENTED_FEATURE on systems that do not have a (known) default trust store.
* Added convenience functions to load a trust list from a file or a memory buffer.Nikos Mavrogiannopoulos2012-05-091-3/+6
| | | | | | | New functions: gnutls_certificate_set_x509_system_trust, gnutls_pkcs11_obj_list_import_url2, gnutls_x509_trust_list_add_system_trust, gnutls_x509_trust_list_add_trust_file, gnutls_x509_trust_list_add_trust_mem.
* updated exampleNikos Mavrogiannopoulos2012-02-101-2/+7
|
* Added gnutls_verify_stored_pubkey() and gnutls_store_pubkey().Nikos Mavrogiannopoulos2012-01-281-1/+1
| | | | This enables using ssh-like authentication for TLS sessions.
* Added gnutls_certificate_set_x509_key_file in a comment.Nikos Mavrogiannopoulos2012-01-181-0/+7
|
* updated examples and added new "handling alerts" section.Nikos Mavrogiannopoulos2011-12-281-0/+207