SSL transport options for server connections on macOS and iOS. More...
#include <ServerAuthenticationOptions.h>
Public Attributes | |
SSLAuthenticate | clientCertificateRequired = kNeverAuthenticate |
The requirements for client-side authentication. | |
std::function< bool(SecTrustRef trust, ConnectionInfoPtr info)> | clientCertificateValidationCallback |
A callback for validating the client certificate chain. | |
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 that accepts the connection. | |
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 SSL parameters for the session based on specific server settings or requirements. | |
CFArrayRef | trustedRootCertificates = nullptr |
The trusted root certificates used for validating the client's certificate chain. |
SSL transport options for server connections on macOS and iOS.
The SecureTransportServerAuthenticationOptions structure is only available when the Ice library is built on macOS and iOS. For Linux, refer to OpenSSLServerAuthenticationOptions, and for Windows, refer to SchannelServerAuthenticationOptions.
Definition at line 105 of file ServerAuthenticationOptions.h.