pub fn get_remote_node_id(connection: &Connection) -> Result<PublicKey>
Expand description
Extract the PublicKey
from the peer’s TLS certificate.
pub fn get_remote_node_id(connection: &Connection) -> Result<PublicKey>
Extract the PublicKey
from the peer’s TLS certificate.