accept_certificate


Description:

public signal bool accept_certificate (TlsCertificate tls_peer_certificate, TlsCertificateFlags tls_peer_errors)

Emitted during the msg's connection TLS handshake after client TLS certificate has been received.

You can return true to accept tls_certificate despite tls_errors.

Parameters:

tls_peer_certificate

the peer's TlsCertificate

tls_peer_errors

the tls errors of tls_certificate

Returns:

true to accept the TLS certificate and stop other handlers from being invoked, or false to propagate the event further.