aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlv-426 <oxcafebaby@yahoo.com>2008-09-11 21:59:33 +0000
committerlv-426 <oxcafebaby@yahoo.com>2008-09-11 21:59:33 +0000
commitabed5ccc4d3c0a02d335773b79c3ea047b5fab0d (patch)
treef5f0c22daadc9dd38a06db426926ff90adfd4694
parent57168ecea1fa1af621aaa0c0f3f7a8b7ca091f10 (diff)
downloadlibmicrohttpd-abed5ccc4d3c0a02d335773b79c3ea047b5fab0d.tar.gz
libmicrohttpd-abed5ccc4d3c0a02d335773b79c3ea047b5fab0d.zip
doc
-rw-r--r--doc/microhttpd.texi75
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},
291otherwise to a @code{struct sockaddr_in}. If this option is not specified, 291otherwise to a @code{struct sockaddr_in}. If this option is not specified,
292the daemon will listen to incomming connections from anywhere. 292the daemon will listen to incomming connections from anywhere.
293 293
294@item MHD_OPTION_HTTPS_KEY_PATH
295Filename for the private key (key.pem) to be used by the
296HTTPS daemon. This option should be followed by an
297"const char*" argument. The memory of the filename must
298not be released until the application terminates.
299This should be used in conjunction with 'MHD_OPTION_HTTPS_CERT_PATH'.
300
301@item MHD_OPTION_HTTPS_CERT_PATH
302Filename for the certificate (cert.pem) to be used by the
303HTTPS daemon. This option should be followed by an
304"const char*" argument. The memory of the filename must
305not be released until the application terminates.
306This should be used in conjunction with 'MHD_OPTION_HTTPS_KEY_PATH'.
307
308@item MHD_OPTION_HTTPS_MEM_KEY
309Memory pointer to the private key to be used by the
310HTTPS daemon. This option should be followed by an
311"const char*" argument.
312This should be used in conjunction with 'MHD_OPTION_HTTPS_MEM_CERT'.
313
314@item MHD_OPTION_HTTPS_MEM_CERT
315Memory pointer to the certificate to be used by the
316HTTPS daemon. This option should be followed by an
317"const char*" argument.
318This should be used in conjunction with 'MHD_OPTION_HTTPS_MEM_KEY'.
319
320@item MHD_OPTION_CRED_TYPE
321Daemon credentials type. Either certificate or anonymous,
322this option should be followed by one of the values listed in
323"enum MHD_GNUTLS_CredentialsType".
324
325@item MHD_OPTION_PROTOCOL_VERSION
326SSL/TLS protocol version.
327Memory pointer to a zero (MHD_GNUTLS_PROTOCOL_END) terminated
328(const) array of 'enum MHD_GNUTLS_Protocol' values representing the
329protocol versions to this server should support. Unsupported
330requests will be dropped by the server.
331
332@item MHD_OPTION_CIPHER_ALGORITHM
333Memory pointer to a zero (MHD_GNUTLS_CIPHER_UNKNOWN)
334terminated (const) array of 'enum MHD_GNUTLS_CipherAlgorithm'
335representing the cipher priority order to which the HTTPS
336daemon should adhere.
337
338@item MHD_OPTION_KX_PRIORITY
339Memory pointer to a zero (MHD_GNUTLS_KX_UNKNOWN)
340terminated (const) array of 'MHD_GNUTLS_KeyExchangeAlgorithm'
341representing the key exchange algorithm priority order to which
342the HTTPS daemon should adhere.
343
344@item MHD_OPTION_CERT_TYPE
345Indicate which type of certificate this server will use,
346followed by a value of type 'enum MHD_GNUTLS_CertificateType'.
347
348@item MHD_OPTION_MAC_ALGO
349Specify the mac algorithm used by server.
350The argument should be of type "enum MHD_GNUTLS_MacAlgorithm"
351
352@item MHD_OPTION_TLS_COMP_ALGO
353Compression algorithm used by server. Should be followed by an
354option 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
416List of symmetric ciphers.
417Note that not all listed algorithms are necessarily supported by
418all builds of MHD.
419@end deftp
420
421
422@deftp {Enumeration} MHD_GNUTLS_KeyExchangeAlgorithm
423List of key exchange algorithms.
424Note that not all listed algorithms are necessarily supported by
425all builds of MHD.
426@end deftp
427
428
354@c ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 429@c ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
355 430
356@c ------------------------------------------------------------ 431@c ------------------------------------------------------------