<% {status, response} = server.key_establishment_response %> <%= if (status == :ok) do %> <% else %> <% end %>
Host Status Algorithm Cookies Cookie Length Certificate Expiration Last Check
<%= server.server.host %>:<%= server.server.port %> <%= status %> <% aead_algorithm = Enum.at(response.aead_algorithms, 0) %> <%= KeyEstablishmentResponse.aead_algorithm_to_id(aead_algorithm) %> <%= aead_algorithm %> <%= length(response.cookies) %> <%= response.cookie_length %> <%= response.cert_expiration |> DateTime.from_iso8601 |> then(fn {:ok, dt, _} -> Calendar.strftime(dt, "%Y-%m-%d %H:%M:%SZ") end)%> <%= server.last_key_establishment |> Calendar.strftime("%Y-%m-%d %H:%M:%SZ") %> <%= server.server.host %>:<%= server.server.port %> <%= status %> <%= response %> - - - - <%= server.last_key_establishment |> Calendar.strftime("%Y-%m-%d %H:%M:%SZ") %>