mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-21 17:37:53 +02:00
Change the handling of the peer certificate in GTlsConnection
Make the certificate and peer-certificate properties virtual, and add peer-certificate-errors as well. Change the documentation on peer-certificate to say that it's not set until after the handshake succeeds (which means notify::peer-certificate can be used to tell when a handshake has completed).
This commit is contained in:
@@ -3059,6 +3059,7 @@ GTlsConnection
|
||||
g_tls_connection_set_certificate
|
||||
g_tls_connection_get_certificate
|
||||
g_tls_connection_get_peer_certificate
|
||||
g_tls_connection_get_peer_certificate_errors
|
||||
g_tls_connection_set_require_close_notify
|
||||
g_tls_connection_get_require_close_notify
|
||||
GTlsRehandshakeMode
|
||||
@@ -3071,7 +3072,6 @@ g_tls_connection_handshake
|
||||
g_tls_connection_handshake_async
|
||||
g_tls_connection_handshake_finish
|
||||
<SUBSECTION>
|
||||
g_tls_connection_set_peer_certificate
|
||||
g_tls_connection_emit_accept_certificate
|
||||
<SUBSECTION Standard>
|
||||
GTlsConnectionClass
|
||||
|
Reference in New Issue
Block a user