EDI Integrator 2016 C++ Builder Edition
EDI Integrator 2016 C++ Builder Edition
Questions / Feedback?

SSLServerAuthentication Event

For asynchronous HTTPS MDNs, fired after the server presents its certificate.

Syntax

typedef void __fastcall (__closure *TibeAS2ReceiverSSLServerAuthenticationEvent)(System::TObject* Sender, TibeAS2ReceiverSSLServerAuthenticationEventParams *e);


__property TibeAS2ReceiverSSLServerAuthenticationEvent OnSSLServerAuthentication = {read=FOnSSLServerAuthentication, write=FOnSSLServerAuthentication};

typedef struct {
     String CertEncoded;
     String CertSubject;
     String CertIssuer;
     String Status;
     bool Accept;
} TibeAS2ReceiverSSLServerAuthenticationEventParams;

Remarks

This event is fired when returning asynchronous MDNs over HTTPS to the client, and allows the client can decide whether to continue with the connection process or not. In general, the component will allow self-signed certs only if explicitly specified.

To accept a self-signed certificate, either trap the SSLServerAuthentication event and set Accept to true based on the values of CertSubject, CertEncoded, etc., or set the SSLAcceptServerCert property to the value of the expected certificate (if the server certificate is known in advance the latter method is simpler).

 
 
Copyright (c) 2019 /n software inc. - All rights reserved.
EDI Integrator 2016 C++ Builder Edition - Version 16.0 [Build 7240]