3#ifndef ICE_SSL_SERVER_AUTHENTICATION_OPTIONS_H
4#define ICE_SSL_SERVER_AUTHENTICATION_OPTIONS_H
7#include "ConnectionInfo.h"
17#if defined(ICE_DOXYGEN)
22#if defined(ICE_USE_SCHANNEL) || defined(ICE_DOXYGEN)
98#if defined(ICE_USE_SECURE_TRANSPORT) || defined(ICE_DOXYGEN)
199#if defined(ICE_USE_OPENSSL) || defined(ICE_DOXYGEN)
267 std::function<bool(
bool verified, X509_STORE_CTX* ctx,
const ConnectionInfoPtr& info)>
std::shared_ptr< ConnectionInfo > ConnectionInfoPtr
A shared pointer to a ConnectionInfo.
... ServerAuthenticationOptions
An alias for the platform-specific implementation of the SSL ServerAuthenticationOptions.
Secure connections with SSL/TLS.
std::function< SSL_CTX *(const std::string &adapterName)> serverSSLContextSelectionCallback
A callback that selects the server's SSL_CTX object based on the name of the object adapter that acce...
std::function< void(::SSL *ssl, const std::string &adapterName)> sslNewSessionCallback
A callback invoked before initiating a new SSL handshake, providing an opportunity to customize the S...
std::function< bool(bool verified, X509_STORE_CTX *ctx, const ConnectionInfoPtr &info)> clientCertificateValidationCallback
A callback for validating the client certificate chain.
SSL transport options for server connections on Linux.
std::function< SCH_CREDENTIALS(const std::string &adapterName)> serverCredentialsSelectionCallback
A callback for selecting the server's SSL credentials based on the name of the object adapter that ac...
bool clientCertificateRequired
Whether or not the client must provide a certificate. The default value is false.
std::function< bool(CtxtHandle context, const ConnectionInfoPtr &info)> clientCertificateValidationCallback
A callback for validating the client certificate chain.
std::function< void(CtxtHandle context, const std::string &adapterName)> sslNewSessionCallback
A callback invoked before initiating a new SSL handshake, providing an opportunity to customize the S...
HCERTSTORE trustedRootCertificates
The trusted root certificates used for validating the client's certificate chain.
The SSL transport options for server connections on Windows.
std::function< CFArrayRef(const std::string &adapterName)> serverCertificateSelectionCallback
A callback for selecting the server's SSL certificate chain based on the name of the object adapter t...
std::function< void(SSLContextRef context, const std::string &adapterName)> sslNewSessionCallback
A callback invoked before initiating a new SSL handshake, providing an opportunity to customize the S...
std::function< bool(SecTrustRef trust, ConnectionInfoPtr info)> clientCertificateValidationCallback
A callback for validating the client certificate chain.
SSLAuthenticate clientCertificateRequired
The requirements for client-side authentication.
CFArrayRef trustedRootCertificates
The trusted root certificates used for validating the client's certificate chain.
SSL transport options for server connections on macOS and iOS.