returns the remote peer 's principle , or null if that peer is anonymous . concode_field_sep List<Certificate> localCertificates concode_elem_sep List<Certificate> peerCertificates concode_elem_sep TlsVersion tlsVersion concode_elem_sep CipherSuite cipherSuite concode_field_sep List<Certificate> localCertificates concode_elem_sep List<Certificate> peerCertificates concode_elem_sep Principal localPrincipal concode_elem_sep int hashCode concode_elem_sep Handshake get concode_elem_sep Handshake get concode_elem_sep TlsVersion tlsVersion concode_elem_sep boolean equals concode_elem_sep CipherSuite cipherSuite
Principal function ( ) { return ! peerCertificates . isEmpty ( ) ? ( ( X509Certificate ) peerCertificates . get ( 0 ) ) . getSubjectX500Principal ( ) : null ; }