Interface PeerInfo
- All Known Implementing Classes:
DirectPeerInfo
public interface PeerInfo
Information about one side of this communication (either local or remote).
-
Method Details
-
address
-
host
-
port
int port()Port of the peer.- Returns:
- port
-
tlsPrincipal
-
tlsCertificates
Optional<Certificate[]> tlsCertificates()TLS certificate chain of the peer.- Returns:
- certificate chain of the peer, or empty if not a TLS connection, or this peer does not provide certificates
-