'Obtain the latest `handshake finished` message received from the peer.
:return: The contents of the message or :py:obj:`None` if the TLS
handshake has not yet completed.
:rtype: :py:class:`bytes` or :py:class:`NoneType`'

def get_peer_finished(self):

    return self._get_finished_message(_lib.SSL_get_peer_finished)
