Warning, file /include/gnutls/urls.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifndef GNUTLS_URLS_H
0024 #define GNUTLS_URLS_H
0025
0026 #include <gnutls/gnutls.h>
0027 #include <gnutls/x509.h>
0028 #include <gnutls/abstract.h>
0029
0030
0031
0032
0033
0034 #ifdef __cplusplus
0035 extern "C" {
0036 #endif
0037
0038 typedef int (*gnutls_privkey_import_url_func)(gnutls_privkey_t pkey,
0039 const char *url, unsigned flags);
0040
0041 typedef int (*gnutls_x509_crt_import_url_func)(gnutls_x509_crt_t pkey,
0042 const char *url, unsigned flags);
0043
0044
0045
0046
0047 typedef int (*gnutls_pubkey_import_url_func)(gnutls_pubkey_t pkey,
0048 const char *url, unsigned flags);
0049
0050
0051
0052
0053
0054 typedef int (*gnutls_get_raw_issuer_func)(const char *url,
0055 gnutls_x509_crt_t crt,
0056 gnutls_datum_t *issuer_der,
0057 unsigned flags);
0058
0059 typedef struct gnutls_custom_url_st {
0060 const char *name;
0061 unsigned name_size;
0062 gnutls_privkey_import_url_func import_key;
0063 gnutls_x509_crt_import_url_func import_crt;
0064 gnutls_pubkey_import_url_func import_pubkey;
0065 gnutls_get_raw_issuer_func get_issuer;
0066 void *future1;
0067 void *future2;
0068 } gnutls_custom_url_st;
0069
0070 int gnutls_register_custom_url(const gnutls_custom_url_st *st);
0071
0072 #ifdef __cplusplus
0073 }
0074 #endif
0075
0076 #endif