def connection_id_to_public_key(self, connection_id):
        """
        Get stored public key for a connection.
        """
        with self._connections_lock:
            try:
                connection_info = self._connections[connection_id]
                return connection_info.public_key
            except KeyError:
                return None