diff options
Diffstat (limited to 'doc/microhttpd.texi')
-rw-r--r-- | doc/microhttpd.texi | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/doc/microhttpd.texi b/doc/microhttpd.texi index 89917af0..54ab252a 100644 --- a/doc/microhttpd.texi +++ b/doc/microhttpd.texi | |||
@@ -291,6 +291,67 @@ the @code{struct sockaddr*} should point to a @code{struct sockaddr_in6}, | |||
291 | otherwise to a @code{struct sockaddr_in}. If this option is not specified, | 291 | otherwise to a @code{struct sockaddr_in}. If this option is not specified, |
292 | the daemon will listen to incomming connections from anywhere. | 292 | the daemon will listen to incomming connections from anywhere. |
293 | 293 | ||
294 | @item MHD_OPTION_HTTPS_KEY_PATH | ||
295 | Filename for the private key (key.pem) to be used by the | ||
296 | HTTPS daemon. This option should be followed by an | ||
297 | "const char*" argument. The memory of the filename must | ||
298 | not be released until the application terminates. | ||
299 | This should be used in conjunction with 'MHD_OPTION_HTTPS_CERT_PATH'. | ||
300 | |||
301 | @item MHD_OPTION_HTTPS_CERT_PATH | ||
302 | Filename for the certificate (cert.pem) to be used by the | ||
303 | HTTPS daemon. This option should be followed by an | ||
304 | "const char*" argument. The memory of the filename must | ||
305 | not be released until the application terminates. | ||
306 | This should be used in conjunction with 'MHD_OPTION_HTTPS_KEY_PATH'. | ||
307 | |||
308 | @item MHD_OPTION_HTTPS_MEM_KEY | ||
309 | Memory pointer to the private key to be used by the | ||
310 | HTTPS daemon. This option should be followed by an | ||
311 | "const char*" argument. | ||
312 | This should be used in conjunction with 'MHD_OPTION_HTTPS_MEM_CERT'. | ||
313 | |||
314 | @item MHD_OPTION_HTTPS_MEM_CERT | ||
315 | Memory pointer to the certificate to be used by the | ||
316 | HTTPS daemon. This option should be followed by an | ||
317 | "const char*" argument. | ||
318 | This should be used in conjunction with 'MHD_OPTION_HTTPS_MEM_KEY'. | ||
319 | |||
320 | @item MHD_OPTION_CRED_TYPE | ||
321 | Daemon credentials type. Either certificate or anonymous, | ||
322 | this option should be followed by one of the values listed in | ||
323 | "enum MHD_GNUTLS_CredentialsType". | ||
324 | |||
325 | @item MHD_OPTION_PROTOCOL_VERSION | ||
326 | SSL/TLS protocol version. | ||
327 | Memory pointer to a zero (MHD_GNUTLS_PROTOCOL_END) terminated | ||
328 | (const) array of 'enum MHD_GNUTLS_Protocol' values representing the | ||
329 | protocol versions to this server should support. Unsupported | ||
330 | requests will be dropped by the server. | ||
331 | |||
332 | @item MHD_OPTION_CIPHER_ALGORITHM | ||
333 | Memory pointer to a zero (MHD_GNUTLS_CIPHER_UNKNOWN) | ||
334 | terminated (const) array of 'enum MHD_GNUTLS_CipherAlgorithm' | ||
335 | representing the cipher priority order to which the HTTPS | ||
336 | daemon should adhere. | ||
337 | |||
338 | @item MHD_OPTION_KX_PRIORITY | ||
339 | Memory pointer to a zero (MHD_GNUTLS_KX_UNKNOWN) | ||
340 | terminated (const) array of 'MHD_GNUTLS_KeyExchangeAlgorithm' | ||
341 | representing the key exchange algorithm priority order to which | ||
342 | the HTTPS daemon should adhere. | ||
343 | |||
344 | @item MHD_OPTION_CERT_TYPE | ||
345 | Indicate which type of certificate this server will use, | ||
346 | followed by a value of type 'enum MHD_GNUTLS_CertificateType'. | ||
347 | |||
348 | @item MHD_OPTION_MAC_ALGO | ||
349 | Specify the mac algorithm used by server. | ||
350 | The argument should be of type "enum MHD_GNUTLS_MacAlgorithm" | ||
351 | |||
352 | @item MHD_OPTION_TLS_COMP_ALGO | ||
353 | Compression algorithm used by server. Should be followed by an | ||
354 | option of type 'enum MHD_GNUTLS_CompressionMethod'. | ||
294 | 355 | ||
295 | @end table | 356 | @end table |
296 | @end deftp | 357 | @end deftp |
@@ -351,6 +412,20 @@ We had to close the session since @mhd{} was being shut down. | |||
351 | @end deftp | 412 | @end deftp |
352 | 413 | ||
353 | 414 | ||
415 | @deftp {Enumeration} MHD_GNUTLS_CipherAlgorithm | ||
416 | List of symmetric ciphers. | ||
417 | Note that not all listed algorithms are necessarily supported by | ||
418 | all builds of MHD. | ||
419 | @end deftp | ||
420 | |||
421 | |||
422 | @deftp {Enumeration} MHD_GNUTLS_KeyExchangeAlgorithm | ||
423 | List of key exchange algorithms. | ||
424 | Note that not all listed algorithms are necessarily supported by | ||
425 | all builds of MHD. | ||
426 | @end deftp | ||
427 | |||
428 | |||
354 | @c ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | 429 | @c ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
355 | 430 | ||
356 | @c ------------------------------------------------------------ | 431 | @c ------------------------------------------------------------ |