std::function<SCH_CREDENTIALS(const std::string& host)> Ice::SSL::SchannelClientAuthenticationOptions::clientCredentialsSelectionCallback |
A callback for selecting the client's SSL credentials based on the target host name.
This callback is invoked by the SSL transport for each new outgoing connection before starting the SSL handshake to determine the appropriate client credentials. The callback must return a SCH_CREDENTIALS that represents the client's credentials. The SSL transport takes ownership of the credentials' paCred and hRootStore members and releases them when the connection is closed.
host | The target host name. |
Example of setting clientCertificateSelectionCallback:
Definition at line 48 of file ClientAuthenticationOptions.h.