SSLClientAuthentication Event
Fired when the client presents its credentials to the server.
Syntax
typedef struct { int ConnectionId; String CertEncoded; DynamicArray<Byte> CertEncodedB; String CertSubject; String CertIssuer; String Status; bool Accept; } TiptBTDaemonSSLClientAuthenticationEventParams; typedef void __fastcall (__closure *TiptBTDaemonSSLClientAuthenticationEvent)(System::TObject* Sender, TiptBTDaemonSSLClientAuthenticationEventParams *e); __property TiptBTDaemonSSLClientAuthenticationEvent OnSSLClientAuthentication = { read=FOnSSLClientAuthentication, write=FOnSSLClientAuthentication };
Remarks
This is where the server can decide whether to continue or not. The Accept parameter is a recommendation on whether to continue or close the connection. This is just a suggestion: application software must use its own logic to determine whether to continue or not.
When Accept is False, Status shows why the verification failed (otherwise, Status contains the string "OK").