CertificateValidate Event
Fires when a client certificate needs to be validated.
Syntax
class TLSServerCertificateValidateEventParams { public: qint64 ConnectionID(); bool Accept(); void SetAccept(bool bAccept); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void CertificateValidate(TLSServerCertificateValidateEventParams *e);
// Or, subclass TLSServer and override this emitter function. virtual int FireCertificateValidate(TLSServerCertificateValidateEventParams *e) {...}
Remarks
The class fires this event to notify the application of an authenticating client. Use the event handler to validate the certificate and pass your decision back to the server component via the Accept parameter.