/* Licensed to the Apache Software Foundation (ASF) under one or more *contributorlicenseagreements.SeetheNOTICEfiledistributedwith *thisworkforadditionalinformationregardingcopyrightownership. *TheASFlicensesthisfiletoYouundertheApacheLicense,Version2.0 *(the"License");youmaynotusethisfileexceptincompliancewith *theLicense.YoumayobtainacopyoftheLicenseat * *http://www.apache.org/licenses/LICENSE-2.0 * *Unlessrequiredbyapplicablelaworagreedtoinwriting,software *distributedundertheLicenseisdistributedonan"ASIS"BASIS, *WITHOUTWARRANTIESORCONDITIONSOFANYKIND,eitherexpressorimplied. *SeetheLicenseforthespecificlanguagegoverningpermissionsand *limitationsundertheLicense.
*/
#include"httpd.h" #include"http_config.h" #include"apr_optional.h" #include"apr_tables.h"/* for apr_array_header_t */
/* Create a set of SSL_DECLARE(type), SSL_DECLARE_NONSTD(type) and *SSL_DECLARE_DATAwithappropriateexportandimporttagsfortheplatform
*/ #if !defined(WIN32) #define SSL_DECLARE(type) type #define SSL_DECLARE_NONSTD(type) type #define SSL_DECLARE_DATA #elifdefined(SSL_DECLARE_STATIC) #define SSL_DECLARE(type) type __stdcall #define SSL_DECLARE_NONSTD(type) type #define SSL_DECLARE_DATA #elifdefined(SSL_DECLARE_EXPORT) #define SSL_DECLARE(type) __declspec(dllexport) type __stdcall #define SSL_DECLARE_NONSTD(type) __declspec(dllexport) type #define SSL_DECLARE_DATA __declspec(dllexport) #else #define SSL_DECLARE(type) __declspec(dllimport) type __stdcall #define SSL_DECLARE_NONSTD(type) __declspec(dllimport) type #define SSL_DECLARE_DATA __declspec(dllimport) #endif
/** The ssl_ext_list() optional function attempts to build an array *ofallthevaluescontainedinthenamedX.509extension.The *returnedarraywillbecreatedinthesuppliedpool. *Theclientcertificateisusedifpeerisnon-zero;theserver *certificateisusedotherwise. *Extensionspecifiestheextensionstouseasastring.Thiscanbe *oneofthe"known"longorshortnames,oranumericOID, *e.g."1.2.3.4",'nsComment'and'DN'areallvalid. *Apointertoanapr_array_header_tstructureisreturnedifat *leastonematchingextensionisfound,NULLotherwise.
*/
APR_DECLARE_OPTIONAL_FN(apr_array_header_t *, ssl_ext_list,
(apr_pool_t *p, conn_rec *c, int peer, constchar *extension));
/** An optional function which returns non-zero if the given connection
* is using SSL/TLS. */
APR_DECLARE_OPTIONAL_FN(int, ssl_is_https, (conn_rec *));
/** The ssl_proxy_enable() and ssl_engine_{set,disable}() optional *functionsareusedbymod_proxytoenableuseofSSLforoutgoing
* connections. */
APR_DECLARE_OPTIONAL_FN(int, ssl_proxy_enable, (conn_rec *));
APR_DECLARE_OPTIONAL_FN(int, ssl_engine_disable, (conn_rec *));
APR_DECLARE_OPTIONAL_FN(int, ssl_engine_set, (conn_rec *,
ap_conf_vector_t *, int proxy, int enable));
/* Check for availability of new hooks */ #define SSL_CERT_HOOKS #ifdef SSL_CERT_HOOKS
/** Lets others add certificate and key files to the given server. *Foreachcertakeymustalsobeadded. *@paramcert_fileandarrayofconstchar*withthepathtothecertificatechain *@paramkey_fileandarrayofconstchar*withthepathtotheprivatekeyfile
*/
APR_DECLARE_EXTERNAL_HOOK(ssl, SSL, int, add_cert_files,
(server_rec *s, apr_pool_t *p,
apr_array_header_t *cert_files,
apr_array_header_t *key_files))
/** In case no certificates are available for a server, this *letsothermodulesaddafallbackcertificateforthetime *being.Regularrequestsagainstthisserverwillbeanswered *witha503. *@paramcert_fileandarrayofconstchar*withthepathtothecertificatechain *@paramkey_fileandarrayofconstchar*withthepathtotheprivatekeyfile
*/
APR_DECLARE_EXTERNAL_HOOK(ssl, SSL, int, add_fallback_cert_files,
(server_rec *s, apr_pool_t *p,
apr_array_header_t *cert_files,
apr_array_header_t *key_files))
#endif/* SSL_CERT_HOOKS */
#endif/* __MOD_SSL_H__ */ /** @} */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet am 2026-09-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.