documented update
[gnutls.git] / doc / examples / examples.h
blob0c2dbb33727acb204dac86b70a28dc6ad279f66f
1 #ifndef EXAMPLES_H
2 #define EXAMPLES_H
4 void check_alert (gnutls_session_t session, int ret);
6 int write_pkcs12 (const gnutls_datum_t * cert,
7 const gnutls_datum_t * pkcs8_key, const char *password);
9 void verify_certificate (gnutls_session_t session, const char *hostname);
11 int print_info (gnutls_session_t session);
13 void print_x509_certificate_info (gnutls_session_t session);
15 int
16 _ssh_verify_certificate_callback (gnutls_session_t session);
18 void
19 verify_certificate_chain (const char *hostname,
20 const gnutls_datum_t * cert_chain,
21 int cert_chain_length);
23 int verify_certificate_callback (gnutls_session_t session);
25 #endif /* EXAMPLES_H */