Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
Ice::SSL::SecureTransportServerAuthenticationOptions Struct Reference

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.

Detailed Description

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.

See also
Ice::SSL::ServerAuthenticationOptions

Definition at line 105 of file ServerAuthenticationOptions.h.


The documentation for this struct was generated from the following file: