get_peer_certificate


Description:

public unowned TlsCertificate? get_peer_certificate ()

Gets this's peer's certificate after the handshake has completed or failed.

(It is not set during the emission of accept_certificate.)

Parameters:

this

a TlsConnection

Returns:

this's peer's certificate, or null