pub(crate) fn peer_certificates(
        &self,
    ) -> Option<impl Iterator<Item = quinn_proto::Certificate>> {
        self.connection
            .crypto_session()
            .get_peer_certificates()
            .map(|l| l.into_iter().map(|l| l.into()))
    }
/// Returns the certificates sent by the remote through the underlying TLS session.
/// Returns `None` if the connection is still handshaking.
// TODO: it seems to happen that is_handshaking is false but this returns None
Returns the certificates sent by the remote through the underlying TLS session.
Returns `None` if the connection is still handshaking.
TODO: it seems to happen that is_handshaking is false but this returns None
Returns the certificates sent by the remote through the underlying TLS session . Returns ` None ` if the connection is still handshaking . TODO : it seems to happen that is_handshaking is false but this returns None
pub(crate) fn peer_certificates(
        &self,
    ) -> Option<impl Iterator<Item = quinn_proto::Certificate>> {
        self.connection
            .crypto_session()
            .get_peer_certificates()
            .map(|l| l.into_iter().map(|l| l.into()))
    }
pub ( crate ) fn peer_certificates ( & self , ) -> Option < impl Iterator < Item = quinn_proto :: Certificate > > { self . connection . crypto_session ( ) . get_peer_certificates ( ) . map ( | l | l . into_iter ( ) . map ( | l | l . into ( ) ) ) }
Returns the certificates sent by the remote through the underlying TLS session.
Returns the certificates sent by the remote through the underlying TLS session .
&self
&self