summaryrefslogtreecommitdiffstats
path: root/doc/examples/examples.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:33:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:33:12 +0000
commit36082a2fe36ecd800d784ae44c14f1f18c66a7e9 (patch)
tree6c68e0c0097987aff85a01dabddd34b862309a7c /doc/examples/examples.h
parentInitial commit. (diff)
downloadgnutls28-36082a2fe36ecd800d784ae44c14f1f18c66a7e9.tar.xz
gnutls28-36082a2fe36ecd800d784ae44c14f1f18c66a7e9.zip
Adding upstream version 3.7.9.upstream/3.7.9upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/examples/examples.h')
-rw-r--r--doc/examples/examples.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/examples/examples.h b/doc/examples/examples.h
new file mode 100644
index 0000000..e5641a5
--- /dev/null
+++ b/doc/examples/examples.h
@@ -0,0 +1,24 @@
+#ifndef EXAMPLES_H
+#define EXAMPLES_H
+
+void check_alert(gnutls_session_t session, int ret);
+
+int write_pkcs12(const gnutls_datum_t * cert,
+ const gnutls_datum_t * pkcs8_key, const char *password);
+
+void verify_certificate(gnutls_session_t session, const char *hostname);
+
+int print_info(gnutls_session_t session);
+
+void print_x509_certificate_info(gnutls_session_t session);
+
+int _ssh_verify_certificate_callback(gnutls_session_t session);
+
+void
+verify_certificate_chain(const char *hostname,
+ const gnutls_datum_t * cert_chain,
+ int cert_chain_length);
+
+int verify_certificate_callback(gnutls_session_t session);
+
+#endif /* EXAMPLES_H */