std::function<bool(CtxtHandle context, const ConnectionInfoPtr& info)> Ice::SSL::SchannelServerAuthenticationOptions::clientCertificateValidationCallback |
A callback for validating the client certificate chain.
If the verification callback returns false, the connection will be aborted with an Ice::SecurityException.
When this callback is set, it replaces the default validation callback and must perform all necessary validation steps.
Example of setting clientCertificateValidationCallback:
context | An opaque object representing the security context associated with the current connection. This context contains security data relevant for validation, such as the server's certificate chain and cipher suite. |
info | The connection info object that provides additional connection-related data. The ConnectionInfo type is an alias for the platform-specific connection info class. |
Ice::SecurityException | if the certificate chain is invalid and the connection should be aborted. |
Definition at line 89 of file ServerAuthenticationOptions.h.