accept_certificate


Description:

[ Version ( since = "1.6" ) ]
public virtual signal bool accept_certificate (TlsConnection connection, TlsCertificate peer_cert, TlsCertificateFlags errors)

Emitted during the TLS handshake after the client certificate has been received.

See also set_tls_authentication_mode .

Parameters:

connection

a TlsConnection

peer_cert

the peer's TlsCertificate

errors

the problems with peer_cert.

Returns:

true to accept peer_cert (which will also immediately end the signal emission). false to allow the signal emission to continue, which will cause the handshake to fail if no one else overrides it.