aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/https/tls/gnutls_algorithms.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/https/tls/gnutls_algorithms.h')
-rw-r--r--src/daemon/https/tls/gnutls_algorithms.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/daemon/https/tls/gnutls_algorithms.h b/src/daemon/https/tls/gnutls_algorithms.h
index ba4e83ba..6a4021c7 100644
--- a/src/daemon/https/tls/gnutls_algorithms.h
+++ b/src/daemon/https/tls/gnutls_algorithms.h
@@ -28,7 +28,6 @@
28#include "gnutls_auth.h" 28#include "gnutls_auth.h"
29 29
30/* Functions for version handling. */ 30/* Functions for version handling. */
31enum MHD_GNUTLS_Protocol MHD_gtls_version_lowest (MHD_gtls_session_t session);
32enum MHD_GNUTLS_Protocol MHD_gtls_version_max (MHD_gtls_session_t session); 31enum MHD_GNUTLS_Protocol MHD_gtls_version_max (MHD_gtls_session_t session);
33int MHD_gtls_version_priority (MHD_gtls_session_t session, 32int MHD_gtls_version_priority (MHD_gtls_session_t session,
34 enum MHD_GNUTLS_Protocol version); 33 enum MHD_GNUTLS_Protocol version);
@@ -40,10 +39,6 @@ enum MHD_GNUTLS_Protocol MHD_gtls_version_get (int major, int minor);
40 39
41/* Functions for MACs. */ 40/* Functions for MACs. */
42int MHD_gnutls_mac_is_ok (enum MHD_GNUTLS_HashAlgorithm algorithm); 41int MHD_gnutls_mac_is_ok (enum MHD_GNUTLS_HashAlgorithm algorithm);
43enum MHD_GNUTLS_HashAlgorithm MHD_gtls_x509_oid2mac_algorithm (const char
44 *oid);
45const char *MHD_gtls_x509_mac_to_oid (enum MHD_GNUTLS_HashAlgorithm mac);
46
47/* Functions for cipher suites. */ 42/* Functions for cipher suites. */
48int MHD_gtls_supported_ciphersuites (MHD_gtls_session_t session, 43int MHD_gtls_supported_ciphersuites (MHD_gtls_session_t session,
49 cipher_suite_st ** ciphers); 44 cipher_suite_st ** ciphers);
@@ -103,10 +98,6 @@ int MHD_gtls_compression_get_wbits (enum MHD_GNUTLS_CompressionMethod
103 algorithm); 98 algorithm);
104 99
105/* Type to KX mappings. */ 100/* Type to KX mappings. */
106enum MHD_GNUTLS_KeyExchangeAlgorithm MHD_gtls_map_kx_get_kx (enum
107 MHD_GNUTLS_CredentialsType
108 type,
109 int server);
110enum MHD_GNUTLS_CredentialsType MHD_gtls_map_kx_get_cred (enum 101enum MHD_GNUTLS_CredentialsType MHD_gtls_map_kx_get_cred (enum
111 MHD_GNUTLS_KeyExchangeAlgorithm 102 MHD_GNUTLS_KeyExchangeAlgorithm
112 algorithm, 103 algorithm,
@@ -118,8 +109,6 @@ enum MHD_GNUTLS_PublicKeyAlgorithm MHD_gtls_map_pk_get_pk (enum
118 kx_algorithm); 109 kx_algorithm);
119enum MHD_GNUTLS_PublicKeyAlgorithm MHD_gtls_x509_oid2pk_algorithm (const char 110enum MHD_GNUTLS_PublicKeyAlgorithm MHD_gtls_x509_oid2pk_algorithm (const char
120 *oid); 111 *oid);
121const char *MHD_gtls_x509_pk_to_oid (enum MHD_GNUTLS_PublicKeyAlgorithm pk);
122
123enum encipher_type 112enum encipher_type
124{ CIPHER_ENCRYPT = 0, CIPHER_SIGN = 1, CIPHER_IGN }; 113{ CIPHER_ENCRYPT = 0, CIPHER_SIGN = 1, CIPHER_IGN };
125 114
@@ -141,16 +130,6 @@ struct MHD_gtls_compression_entry
141typedef struct MHD_gtls_compression_entry MHD_gnutls_compression_entry; 130typedef struct MHD_gtls_compression_entry MHD_gnutls_compression_entry;
142 131
143/* Functions for sign algorithms. */ 132/* Functions for sign algorithms. */
144MHD_gnutls_sign_algorithm_t MHD_gtls_x509_oid2sign_algorithm (const char
145 *oid);
146MHD_gnutls_sign_algorithm_t MHD_gtls_x509_pk_to_sign (enum
147 MHD_GNUTLS_PublicKeyAlgorithm
148 pk,
149 enum
150 MHD_GNUTLS_HashAlgorithm
151 mac);
152const char *MHD_gtls_x509_sign_to_oid (enum MHD_GNUTLS_PublicKeyAlgorithm,
153 enum MHD_GNUTLS_HashAlgorithm mac);
154 133
155int MHD_gtls_mac_priority (MHD_gtls_session_t session, 134int MHD_gtls_mac_priority (MHD_gtls_session_t session,
156 enum MHD_GNUTLS_HashAlgorithm algorithm); 135 enum MHD_GNUTLS_HashAlgorithm algorithm);
@@ -158,9 +137,6 @@ int MHD_gtls_cipher_priority (MHD_gtls_session_t session,
158 enum MHD_GNUTLS_CipherAlgorithm algorithm); 137 enum MHD_GNUTLS_CipherAlgorithm algorithm);
159int MHD_gtls_kx_priority (MHD_gtls_session_t session, 138int MHD_gtls_kx_priority (MHD_gtls_session_t session,
160 enum MHD_GNUTLS_KeyExchangeAlgorithm algorithm); 139 enum MHD_GNUTLS_KeyExchangeAlgorithm algorithm);
161int MHD_gtls_compression_priority (MHD_gtls_session_t session,
162 enum MHD_GNUTLS_CompressionMethod
163 algorithm);
164 140
165enum MHD_GNUTLS_HashAlgorithm MHD_gtls_mac_get_id (const char *name); 141enum MHD_GNUTLS_HashAlgorithm MHD_gtls_mac_get_id (const char *name);
166enum MHD_GNUTLS_CipherAlgorithm MHD_gtls_cipher_get_id (const char *name); 142enum MHD_GNUTLS_CipherAlgorithm MHD_gtls_cipher_get_id (const char *name);