methodTAbstractTLSSocket.GetServerCert
function GetServerCert: iCertificate;
CLIENT: the session's ServerCertificate. Read GetServerCertAccepted for the acceptance verdict. nil when no session is held - also after a failed connect, because the socket drops its session when the handshake fails; read a refused certificate in OnTLSOutgoingAlert (Client.ServerCertificate) instead. The name getters cache values from this certificate until the next connection starts; their values do not imply certificate acceptance.