DtlsConnection.getPeerCertificate

Gets conn's peer's certificate after the handshake has completed or failed. (It is not set during the emission of #GDtlsConnection::accept-certificate.)

Returns

conn's peer's certificate, or null