SSL transport options for client connections on macOS and iOS. More...
#include <ClientAuthenticationOptions.h>
Public Attributes | |
std::function< CFArrayRef(const std::string &host)> | clientCertificateSelectionCallback |
A callback for selecting the client's SSL certificate chain based on the target host name. | |
std::function< bool(SecTrustRef trust, const ConnectionInfoPtr &info)> | serverCertificateValidationCallback |
A callback for validating the server certificate chain. | |
std::function< void(SSLContextRef context, const std::string &host)> | sslNewSessionCallback |
A callback invoked before initiating a new SSL handshake, providing an opportunity to customize the SSL parameters for the session based on specific client settings or requirements. | |
CFArrayRef | trustedRootCertificates = nullptr |
The trusted root certificates used for validating the server's certificate chain. |
SSL transport options for client connections on macOS and iOS.
The SecureTransportClientAuthenticationOptions structure is only available when the Ice library is built on macOS and iOS. For Linux, refer to OpenSSLClientAuthenticationOptions, and for Windows, refer to SchannelClientAuthenticationOptions.
Definition at line 101 of file ClientAuthenticationOptions.h.