std::function<SCH_CREDENTIALS(const std::string& adapterName)> Ice::SSL::SchannelServerAuthenticationOptions::serverCredentialsSelectionCallback |
A callback for selecting the server's SSL credentials based on the name of the object adapter that accepts the connection.
This callback is invoked by the SSL transport for each new incoming connection before starting the SSL handshake to determine the appropriate server credentials. The callback must return a SCH_CREDENTIALS that represents the server's credentials. The SSL transport takes ownership of the credentials' paCred and hRootStore members and releases them when the connection is closed.
adapterName | The name of the object adapter that accepted the connection. |
Example of setting serverCertificateSelectionCallback:
Definition at line 49 of file ServerAuthenticationOptions.h.